Fix help text for "update" command.
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
Kevin Atkinson committed
Sep 8, 2017 at 20:09 UTC
fd7b72fa169dc905741de0b5d51f820610a26d35
1 file changed
+3
-4
core/commands/files/files.go
+3
-4
@@ -796,14 +796,13 @@ are run with the '--flush=false'.
796
797
var FilesUpdateCmd = &cmds.Command{
798
Helptext: cmds.HelpText{
799
- Tagline: "Change the cid version of hash function of the root node of a given path.",
799
+ Tagline: "Change the cid version or hash function of the root node of a given path.",
800
ShortDescription: `
801
-Flush a given path to disk. This is only useful when other commands
802
-are run with the '--flush=false'.
801
+Change the cid version or hash function of the root node of a given path.
802
`,
803
},
804
Arguments: []cmds.Argument{
806
- cmds.StringArg("path", false, false, "Path to flush. Default: '/'."),
805
+ cmds.StringArg("path", false, false, "Path to change. Default: '/'."),
806
},
807
Run: func(req cmds.Request, res cmds.Response) {
808
nd, err := req.InvocContext().GetNode()