diff options
author | Jakob Unterwurzacher | 2021-08-10 19:09:58 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-10 19:09:58 +0200 |
commit | 463f6e8962d87bf45dccd806822d40cfff335695 (patch) | |
tree | 1738112098347b08bfdeed58fbcc0b21ab512636 /help.go | |
parent | 88f5e8d76e4d13b627ec1dbf8a428d01ae1a8771 (diff) |
main: take advantage of pflag slice types
Our multipleStrings type is now built in.
Diffstat (limited to 'help.go')
-rw-r--r-- | help.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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") } |