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
4c1a5f68
Commit
4c1a5f68
authored
Nov 19, 2014
by
Matt Bell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/commands: Restored 'pin'/'refs' option names
parent
87853f2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
core/commands/pin.go
core/commands/pin.go
+1
-1
core/commands/refs.go
core/commands/refs.go
+1
-1
No files found.
core/commands/pin.go
View file @
4c1a5f68
...
...
@@ -33,7 +33,7 @@ on disk.
cmds
.
StringArg
(
"ipfs-path"
,
true
,
true
,
"Path to object(s) to be pinned"
),
},
Options
:
[]
cmds
.
Option
{
cmds
.
BoolOption
(
"
R
"
,
"Recursively pin the object linked to by the specified object(s)"
),
cmds
.
BoolOption
(
"
recursive"
,
"r
"
,
"Recursively pin the object linked to by the specified object(s)"
),
},
Run
:
func
(
req
cmds
.
Request
)
(
interface
{},
error
)
{
n
,
err
:=
req
.
Context
()
.
GetNode
()
...
...
core/commands/refs.go
View file @
4c1a5f68
...
...
@@ -43,7 +43,7 @@ Note: list all refs recursively with -r.
},
Options
:
[]
cmds
.
Option
{
cmds
.
BoolOption
(
"unique"
,
"u"
,
"Omit duplicate refs from output"
),
cmds
.
BoolOption
(
"rec"
,
"
R
"
,
"Recursively list links of child nodes"
),
cmds
.
BoolOption
(
"rec
ursive
"
,
"
r
"
,
"Recursively list links of child nodes"
),
},
Run
:
func
(
req
cmds
.
Request
)
(
interface
{},
error
)
{
n
,
err
:=
req
.
Context
()
.
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