1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-05 19:02:21 +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

@ -86,10 +86,10 @@ The CLI will exit with one of the following values:
},
Options: []cmdkit.Option{
cmdkit.StringOption("config", "c", "Path to the configuration file to use."),
cmdkit.BoolOption("debug", "D", "Operate in debug mode.").Default(false),
cmdkit.BoolOption("help", "Show the full command help text.").Default(false),
cmdkit.BoolOption("h", "Show a short version of the command help text.").Default(false),
cmdkit.BoolOption("local", "L", "Run the command locally, instead of using the daemon.").Default(false),
cmdkit.BoolOption("debug", "D", "Operate in debug mode."),
cmdkit.BoolOption("help", "Show the full command help text."),
cmdkit.BoolOption("h", "Show a short version of the command help text."),
cmdkit.BoolOption("local", "L", "Run the command locally, instead of using the daemon."),
cmdkit.StringOption(ApiOption, "Use a specific API instance (defaults to /ip4/127.0.0.1/tcp/5001)"),
},
}