diff --git a/cmd/camtool/dp_idx_rebuild.go b/cmd/camtool/dp_idx_rebuild.go index 392d2a3d7..a68cb0512 100644 --- a/cmd/camtool/dp_idx_rebuild.go +++ b/cmd/camtool/dp_idx_rebuild.go @@ -39,7 +39,7 @@ func init() { func(flags *flag.FlagSet) cmdmain.CommandRunner { cmd := new(reindexdpCmd) flags.BoolVar(&cmd.overwrite, "overwrite", false, - "Overwrite the existing index.kv? If not, than only checking is made.") + "Whether to overwrite the existing index.kv. If false, only check.") return cmd }) } @@ -50,8 +50,8 @@ func (c *reindexdpCmd) Describe() string { func (c *reindexdpCmd) Usage() { fmt.Fprintln(os.Stderr, "Usage: camtool [globalopts] reindex-diskpacked [reindex-opts]") - fmt.Fprintln(os.Stderr, " camtool reindex-diskpacked") - fmt.Fprintln(os.Stderr, " camtool reindex-diskpacked --overwrite") + fmt.Fprintln(os.Stderr, " camtool reindex-diskpacked [--overwrite] # dir from server config") + fmt.Fprintln(os.Stderr, " camtool reindex-diskpacked [--overwrite] /path/to/directory") } func (c *reindexdpCmd) RunCommand(args []string) error {