Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
fd7b72fa
Commit
fd7b72fa
authored
Sep 08, 2017
by
Kevin Atkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix help text for "update" command.
License: MIT Signed-off-by:
Kevin Atkinson
<
k@kevina.org
>
parent
47c198ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
core/commands/files/files.go
core/commands/files/files.go
+3
-4
No files found.
core/commands/files/files.go
View file @
fd7b72fa
...
...
@@ -796,14 +796,13 @@ are run with the '--flush=false'.
var
FilesUpdateCmd
=
&
cmds
.
Command
{
Helptext
:
cmds
.
HelpText
{
Tagline
:
"Change the cid version o
f
hash function of the root node of a given path."
,
Tagline
:
"Change the cid version o
r
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment