1
0
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:
Lorenzo Manacorda
2017-07-06 10:57:49 +02:00
committed by keks
parent 225159bcd8
commit 57f544a79c
24 changed files with 55 additions and 55 deletions

View File

@ -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)