mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 07:18:12 +08:00
Merge pull request #2678 from ipfs/feature/add-default-to-refs
Added Default logic to refs
This commit is contained in:
commit
6cef4ff0a0
@ -50,7 +50,7 @@ NOTE: List all references recursively by using the flag '-r'.
|
||||
cmds.StringArg("ipfs-path", true, true, "Path to the object(s) to list refs from.").EnableStdin(),
|
||||
},
|
||||
Options: []cmds.Option{
|
||||
cmds.StringOption("format", "Emit edges with given format. Available tokens: <src> <dst> <linkname>."),
|
||||
cmds.StringOption("format", "Emit edges with given format. Available tokens: <src> <dst> <linkname>.").Default("<dst>"),
|
||||
cmds.BoolOption("edges", "e", "Emit edge format: `<from> -> <to>`.").Default(false),
|
||||
cmds.BoolOption("unique", "u", "Omit duplicate refs from output.").Default(false),
|
||||
cmds.BoolOption("recursive", "r", "Recursively list links of child nodes.").Default(false),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user