Merge pull request #41 from eparis/fix-slice-defaults
Do not append to default values in {String,Int}Slicediff --git a/bool_test.go b/bool_test.go index febf667..afd25ae 100644 --- a/bool_test.go +++ b/bool_test.go
@@ -51,7 +51,7 @@ return fmt.Sprintf("%v", bool(*v == triStateTrue)) } -// The type of the flag as requred by the pflag.Value interface +// The type of the flag as required by the pflag.Value interface func (v *triStateValue) Type() string { return "version" }