camput: Change permanode -name to use the attribute "title" to match camlistore UI

Change-Id: I74e97fa22a5710b3f4d510d1d3c7de2d69b343ae
This commit is contained in:
Brett Slatkin 2011-09-30 03:42:31 +00:00
parent 0ffdf29f8a
commit 69ec51052f
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ func (c *permanodeCmd) RunCommand(up *Uploader, args []string) os.Error {
handleResult("permanode", permaNode, err)
if c.name != "" {
put, err := up.UploadAndSignMap(schema.NewSetAttributeClaim(permaNode.BlobRef, "name", c.name))
handleResult("claim-permanode-name", put, err)
put, err := up.UploadAndSignMap(schema.NewSetAttributeClaim(permaNode.BlobRef, "title", c.name))
handleResult("claim-permanode-title", put, err)
}
if c.tag != "" {
tags := strings.Split(c.tag, ",")