mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-26 04:26:07 +08:00
cmds: rename DefaultVal -> Default, Default -> WithDefault
Propagate change from cmdkit. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -61,7 +61,7 @@ NOTE: List all references recursively by using the flag '-r'.
|
||||
cmdkit.StringArg("ipfs-path", true, true, "Path to the object(s) to list refs from.").EnableStdin(),
|
||||
},
|
||||
Options: []cmdkit.Option{
|
||||
cmdkit.StringOption("format", "Emit edges with given format. Available tokens: <src> <dst> <linkname>.").Default("<dst>"),
|
||||
cmdkit.StringOption("format", "Emit edges with given format. Available tokens: <src> <dst> <linkname>.").WithDefault("<dst>"),
|
||||
cmdkit.BoolOption("edges", "e", "Emit edge format: `<from> -> <to>`."),
|
||||
cmdkit.BoolOption("unique", "u", "Omit duplicate refs from output."),
|
||||
cmdkit.BoolOption("recursive", "r", "Recursively list links of child nodes."),
|
||||
|
Reference in New Issue
Block a user