aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Roose <[email protected]>2017-11-06 09:28:49 -0500
committerEric Paris <[email protected]>2017-11-06 09:28:49 -0500
commit4c012f6dcd9546820e378d0bdda4d8fc772cdfea (patch)
tree6e3a4b33506602922b5e840801a7bf1f2c9f030f
parent97afa5e7ca8a08a383cb259e06636b5e2cc7897f (diff)
Add uintSlice and boolSlice to name prettifier (#150)
-rw-r--r--flag.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/flag.go b/flag.go
index 73c237b..28538c0 100644
--- a/flag.go
+++ b/flag.go
@@ -568,6 +568,10 @@ func UnquoteUsage(flag *Flag) (name string, usage string) {
name = "strings"
case "intSlice":
name = "ints"
+ case "uintSlice":
+ name = "uints"
+ case "boolSlice":
+ name = "bools"
}
return