diff options
Diffstat (limited to 'flag_test.go')
| -rw-r--r-- | flag_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/flag_test.go b/flag_test.go index fe9a4a3..4f7310d 100644 --- a/flag_test.go +++ b/flag_test.go @@ -1052,6 +1052,7 @@ const defaultOutput = ` --A for bootstrapping, allo --custom custom custom Value implementation --customP custom a VarP with default (default 10) --maxT timeout set timeout for dial + -v, --verbose count verbosity ` // Custom value that satisfies the Value interface. @@ -1092,6 +1093,7 @@ func TestPrintDefaults(t *testing.T) { fs.ShorthandLookup("E").NoOptDefVal = "1234" fs.StringSlice("StringSlice", []string{}, "string slice with zero default") fs.StringArray("StringArray", []string{}, "string array with zero default") + fs.CountP("verbose", "v", "verbosity") var cv customValue fs.Var(&cv, "custom", "custom Value implementation") |
