diff --git a/cmd/camput/files.go b/cmd/camput/files.go index ade1a7cf2..c3124cc95 100644 --- a/cmd/camput/files.go +++ b/cmd/camput/files.go @@ -44,8 +44,8 @@ import ( ) type fileCmd struct { - name string - tag string + title string + tag string makePermanode bool // make new, unique permanode of the root (dir or file) filePermanodes bool // make planned permanodes for each file (based on their digest) @@ -71,7 +71,7 @@ func init() { " file. This permits the server to have your signing key. Used mostly with untrusted"+ " or at-risk clients, such as phones.") flags.BoolVar(&cmd.exifTime, "exiftime", false, "Try to use metadata (such as EXIF) to get a stable creation time. If found, used as the replacement for the modtime. Mainly useful with vivify or filenodes.") - flags.StringVar(&cmd.name, "name", "", "Optional name attribute to set on permanode when using -permanode.") + flags.StringVar(&cmd.title, "title", "", "Optional title attribute to set on permanode when using -permanode.") flags.StringVar(&cmd.tag, "tag", "", "Optional tag(s) to set on permanode when using -permanode or -filenodes. Single value or comma separated.") flags.BoolVar(&cmd.diskUsage, "du", false, "Dry run mode: only show disk usage information, without upload or statting dest. Used for testing skipDirs configs, mostly.") @@ -105,19 +105,19 @@ func (c *fileCmd) Usage() { func (c *fileCmd) Examples() []string { return []string{ "[opts]