@cryptotaxi247 / kubo / commits / 1fa63c437

Added Default to `dns` cmd

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

Richard Littauer committed May 11, 2016 at 16:14 UTC 1fa63c437b955a2537f26f9402caa4856d163f36
1 file changed +1 -1
core/commands/dns.go
+1 -1
@@ -47,7 +47,7 @@ The resolver can recursively resolve:
47 cmds.StringArg("domain-name", true, false, "The domain-name name to resolve.").EnableStdin(),
48 },
49 Options: []cmds.Option{
50 - cmds.BoolOption("recursive", "r", "Resolve until the result is not a DNS link. Default: false."),
50 + cmds.BoolOption("recursive", "r", "Resolve until the result is not a DNS link.").Default(false),
51 },
52 Run: func(req cmds.Request, res cmds.Response) {
53