提交 916ae8d8 作者: rht

Add short flag for `ipfs ls --headers` (v for verbose)

License: MIT
Signed-off-by: 's avatarrht <rhtbot@gmail.com>
上级 c091cf5a
......@@ -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()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论