Commit fd7b72fa authored by Kevin Atkinson's avatar Kevin Atkinson

Fix help text for "update" command.

License: MIT
Signed-off-by: default avatarKevin Atkinson <k@kevina.org>
parent 47c198ce
......@@ -796,14 +796,13 @@ are run with the '--flush=false'.
var FilesUpdateCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Change the cid version of hash function of the root node of a given path.",
Tagline: "Change the cid version or hash function of the root node of a given path.",
ShortDescription: `
Flush a given path to disk. This is only useful when other commands
are run with the '--flush=false'.
Change the cid version or hash function of the root node of a given path.
`,
},
Arguments: []cmds.Argument{
cmds.StringArg("path", false, false, "Path to flush. Default: '/'."),
cmds.StringArg("path", false, false, "Path to change. Default: '/'."),
},
Run: func(req cmds.Request, res cmds.Response) {
nd, err := req.InvocContext().GetNode()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment