Commit 961e4504 authored by Matt Bell's avatar Matt Bell

core/commands: Fixed pin flag name (conflicted with global -r/--recursive flag)

parent afc7b6f4
...@@ -34,7 +34,7 @@ on disk. ...@@ -34,7 +34,7 @@ on disk.
cmds.StringArg("ipfs-path", true, true, "Path to object(s) to be pinned"), cmds.StringArg("ipfs-path", true, true, "Path to object(s) to be pinned"),
}, },
Options: []cmds.Option{ Options: []cmds.Option{
cmds.BoolOption("recursive", "r", "Recursively pin the object linked to by the specified object(s)"), cmds.BoolOption("R", "Recursively pin the object linked to by the specified object(s)"),
}, },
Run: func(req cmds.Request) (interface{}, error) { Run: func(req cmds.Request) (interface{}, error) {
n, err := req.Context().GetNode() 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