@cryptotaxi247 / kubo / commits / b01c3f503

Also added to Root

License: MIT Signed-off-by: Richard Littauer <richard.littauer@gmail.com>

Richard Littauer committed May 12, 2016 at 12:08 UTC b01c3f503924738851d48a3c110cecd9612c9ac5
1 file changed +4 -4
core/commands/root.go
+4 -4
@@ -70,10 +70,10 @@ at ~/.ipfs. To change the repo location, set the $IPFS_PATH environment variable
70 },
71 Options: []cmds.Option{
72 cmds.StringOption("config", "c", "Path to the configuration file to use."),
73 - cmds.BoolOption("debug", "D", "Operate in debug mode."),
74 - cmds.BoolOption("help", "Show the full command help text."),
75 - cmds.BoolOption("h", "Show a short version of the command help text."),
76 - cmds.BoolOption("local", "L", "Run the command locally, instead of using the daemon."),
73 + cmds.BoolOption("debug", "D", "Operate in debug mode.").Default(false),
74 + cmds.BoolOption("help", "Show the full command help text.").Default(false),
75 + cmds.BoolOption("h", "Show a short version of the command help text.").Default(false),
76 + cmds.BoolOption("local", "L", "Run the command locally, instead of using the daemon.").Default(false),
77 cmds.StringOption(ApiOption, "Use a specific API instance (defaults to /ip4/127.0.0.1/tcp/5001)"),
78 },
79 }