From 13f8a450a5589d3e3963947a730a7a410da96f1c Mon Sep 17 00:00:00 2001 From: Gregory Boddin Date: Sun, 26 Jul 2020 19:15:51 +0200 Subject: [PATCH] Fixed CLI help --- cmd/leakix/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/leakix/main.go b/cmd/leakix/main.go index d4a9e32..0d45cfd 100644 --- a/cmd/leakix/main.go +++ b/cmd/leakix/main.go @@ -11,13 +11,13 @@ import ( func main() { var scope string - flag.StringVar(&scope, "s", "leak", "Specify scope, default to leak") + flag.StringVar(&scope, "s", "leak", "Specify scope") var query string - flag.StringVar(&query, "q", "*", "Specify search query, default to *") + flag.StringVar(&query, "q", "*", "Specify search query") var outputTemplate string - flag.StringVar(&outputTemplate, "t", "{{ .Ip }}:{{ .Port }}", "Specify output template, default to \"{{ .Ip }}:{{ .Port }}\"") + flag.StringVar(&outputTemplate, "t", "{{ .Ip }}:{{ .Port }}", "Specify output template") var limit int - flag.IntVar(&limit, "l", 100, "Limit results output, default to 100") + flag.IntVar(&limit, "l", 100, "Limit results output") flag.Usage = func() { fmt.Printf("Usage of leakix: \n")