From 463f6e8962d87bf45dccd806822d40cfff335695 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 10 Aug 2021 19:09:58 +0200 Subject: main: take advantage of pflag slice types Our multipleStrings type is now built in. --- help.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'help.go') diff --git a/help.go b/help.go index 5cd35ac..d462b04 100644 --- a/help.go +++ b/help.go @@ -50,7 +50,10 @@ func helpLong() { printVersion() fmt.Printf("\n") fmt.Printf(tUsage) + fmt.Printf(` +Notes: All options can equivalently use "-" (single dash) or "--" (double dash). + A standalone "--" stops option parsing. +`) fmt.Printf("\nOptions:\n") flagSet.PrintDefaults() - fmt.Printf(" --\n Stop option parsing\n") } -- cgit v1.2.3