summaryrefslogtreecommitdiff
path: root/help.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-10 19:09:58 +0200
committerJakob Unterwurzacher2021-08-10 19:09:58 +0200
commit463f6e8962d87bf45dccd806822d40cfff335695 (patch)
tree1738112098347b08bfdeed58fbcc0b21ab512636 /help.go
parent88f5e8d76e4d13b627ec1dbf8a428d01ae1a8771 (diff)
main: take advantage of pflag slice types
Our multipleStrings type is now built in.
Diffstat (limited to 'help.go')
-rw-r--r--help.go5
1 files changed, 4 insertions, 1 deletions
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")
}