From b28cc1111f3f1f9d312641c1bc81088648ed42ba Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 13 Jul 2018 18:25:34 -0400 Subject: [PATCH] nit on default syntax Signed-off-by: Jess Frazelle --- k8scan/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8scan/main.go b/k8scan/main.go index ac8b3fa..0629928 100644 --- a/k8scan/main.go +++ b/k8scan/main.go @@ -108,7 +108,7 @@ func init() { flag.DurationVar(&timeoutGet, "timeout-get", 10*time.Second, "Timeout for getting the contents of the URL") flag.StringVar(&cidr, "cidr", defaultCIDR, "IP CIDR to scan") - flag.Var(&ports, "ports", fmt.Sprintf("Ports to scan (ex. 80-443 or 80,443,8080 or 1-20,22,80-443) (default: %s)", defaultPorts.String())) + flag.Var(&ports, "ports", fmt.Sprintf("Ports to scan (ex. 80-443 or 80,443,8080 or 1-20,22,80-443) (default %q)", defaultPorts.String())) flag.StringVar(&mailgunAPIKey, "mailgun-api-key", "", "Mailgun API Key to use for sending email (optional)") flag.StringVar(&mailgunDomain, "mailgun-domain", "", "Mailgun Domain to use for sending email (optional)")