mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-14 18:26:43 +08:00
remove all instances of Default(false)
Boolean options always default to false. License: MIT Signed-off-by: Lorenzo Manacorda <lorenzo@mailbox.org>
This commit is contained in:
@ -67,7 +67,7 @@ func CommandsCmd(root *cmds.Command) *cmds.Command {
|
||||
ShortDescription: `Lists all available commands (and subcommands) and exits.`,
|
||||
},
|
||||
Options: []cmdkit.Option{
|
||||
cmdkit.BoolOption(flagsOptionName, "f", "Show command flags").Default(false),
|
||||
cmdkit.BoolOption(flagsOptionName, "f", "Show command flags"),
|
||||
},
|
||||
Run: func(req cmds.Request, res cmds.ResponseEmitter) {
|
||||
rootCmd := cmd2outputCmd("ipfs", root)
|
||||
|
Reference in New Issue
Block a user