Add short flag for `ipfs ls --headers` (v for verbose)
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
rht committed
Oct 19, 2015 at 16:43 UTC
916ae8d8dfe515d267671f64c7fcd7f57c231f8f
1 file changed
+1
-1
core/commands/ls.go
+1
-1
@@ -44,7 +44,7 @@ it contains, with the following format:
44
cmds.StringArg("ipfs-path", true, true, "The path to the IPFS object(s) to list links from").EnableStdin(),
45
},
46
Options: []cmds.Option{
47
- cmds.BoolOption("headers", "", "Print table headers (Hash, Name, Size)"),
47
+ cmds.BoolOption("headers", "v", "Print table headers (Hash, Name, Size)"),
48
},
49
Run: func(req cmds.Request, res cmds.Response) {
50
node, err := req.InvocContext().GetNode()