mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 03:42:21 +08:00
Fix cli flag orders (long, short)
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
@ -53,7 +53,7 @@ ipfs id supports the format option for output with the following keys:
|
||||
cmds.StringArg("peerid", false, false, "peer.ID of node to look up").EnableStdin(),
|
||||
},
|
||||
Options: []cmds.Option{
|
||||
cmds.StringOption("f", "format", "optional output format"),
|
||||
cmds.StringOption("format", "f", "optional output format"),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.Response) {
|
||||
node, err := req.InvocContext().GetNode()
|
||||
|
Reference in New Issue
Block a user