Commit 4c1a5f68 authored by Matt Bell's avatar Matt Bell

core/commands: Restored 'pin'/'refs' option names

parent 87853f2b
......@@ -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()
......
......@@ -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("recursive", "r", "Recursively list links of child nodes"),
},
Run: func(req cmds.Request) (interface{}, error) {
n, err := req.Context().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