Commit 477c246c authored by Matt Bell's avatar Matt Bell

core/commands: Fixed 'refs' option name collision

parent edb8eeae
...@@ -41,7 +41,7 @@ Note: list all refs recursively with -r. ...@@ -41,7 +41,7 @@ Note: list all refs recursively with -r.
}, },
Options: []cmds.Option{ Options: []cmds.Option{
cmds.BoolOption("unique", "u", "Omit duplicate refs from output"), cmds.BoolOption("unique", "u", "Omit duplicate refs from output"),
cmds.BoolOption("recursive", "r", "Recursively list links of child nodes"), cmds.BoolOption("rec", "R", "Recursively list links of child nodes"),
}, },
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