@cryptotaxi247 / kubo / commits / 4c1a5f681

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

Matt Bell committed Nov 19, 2014 at 00:36 UTC 4c1a5f681625beeacf020a72b3e6597334547aba
2 files changed +2 -2
core/commands/pin.go
+1 -1
@@ -33,7 +33,7 @@ on disk.
33 cmds.StringArg("ipfs-path", true, true, "Path to object(s) to be pinned"),
34 },
35 Options: []cmds.Option{
36 - cmds.BoolOption("R", "Recursively pin the object linked to by the specified object(s)"),
36 + cmds.BoolOption("recursive", "r", "Recursively pin the object linked to by the specified object(s)"),
37 },
38 Run: func(req cmds.Request) (interface{}, error) {
39 n, err := req.Context().GetNode()
core/commands/refs.go
+1 -1
@@ -43,7 +43,7 @@ Note: list all refs recursively with -r.
43 },
44 Options: []cmds.Option{
45 cmds.BoolOption("unique", "u", "Omit duplicate refs from output"),
46 - cmds.BoolOption("rec", "R", "Recursively list links of child nodes"),
46 + cmds.BoolOption("recursive", "r", "Recursively list links of child nodes"),
47 },
48 Run: func(req cmds.Request) (interface{}, error) {
49 n, err := req.Context().GetNode()