diff options
| -rw-r--r-- | flag.go | 2 | ||||
| -rw-r--r-- | flag_test.go | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -558,6 +558,8 @@ func UnquoteUsage(flag *Flag) (name string, usage string) { name = "uint" case "stringSlice": name = "strings" + case "intSlice": + name = "ints" } return diff --git a/flag_test.go b/flag_test.go index 0c67c24..29fec86 100644 --- a/flag_test.go +++ b/flag_test.go @@ -978,7 +978,7 @@ const defaultOutput = ` --A for bootstrapping, allo --IP ip IP address with no default --IPMask ipMask Netmask address with no default --IPNet ipNet IP network with no default - --Ints intSlice int slice with zero default + --Ints ints int slice with zero default --N int a non-zero int (default 27) --ND1 string[="bar"] a string with NoOptDefVal (default "foo") --ND2 num[=4321] a num with NoOptDefVal (default 1234) |
