mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-04 15:58:13 +08:00
Add short flag for ipfs ls --headers (v for verbose)
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
parent
c091cf5abe
commit
916ae8d8df
@ -44,7 +44,7 @@ it contains, with the following format:
|
||||
cmds.StringArg("ipfs-path", true, true, "The path to the IPFS object(s) to list links from").EnableStdin(),
|
||||
},
|
||||
Options: []cmds.Option{
|
||||
cmds.BoolOption("headers", "", "Print table headers (Hash, Name, Size)"),
|
||||
cmds.BoolOption("headers", "v", "Print table headers (Hash, Name, Size)"),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
node, err := req.InvocContext().GetNode()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user