From 1fa63c437b955a2537f26f9402caa4856d163f36 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Wed, 11 May 2016 16:14:02 -0400 Subject: [PATCH] Added Default to `dns` cmd Part of #2484 License: MIT Signed-off-by: Richard Littauer --- core/commands/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/dns.go b/core/commands/dns.go index 00b96fbb9..3468aed2a 100644 --- a/core/commands/dns.go +++ b/core/commands/dns.go @@ -47,7 +47,7 @@ The resolver can recursively resolve: cmds.StringArg("domain-name", true, false, "The domain-name name to resolve.").EnableStdin(), }, Options: []cmds.Option{ - cmds.BoolOption("recursive", "r", "Resolve until the result is not a DNS link. Default: false."), + cmds.BoolOption("recursive", "r", "Resolve until the result is not a DNS link.").Default(false), }, Run: func(req cmds.Request, res cmds.Response) {