pflag
pflag copied to clipboard
Fix usage showing zero defaults for custom Value type
The defaultIsZeroValue() method was erroneously assuming that all types that implement IsBoolFlag() were bools - regardless of the return value of IsBoolFlag().
Fixes #360
Not sure who the current maintainers are, so pinging recent last few folks who've approved/merged PRs 😬.
@therealmitchconnors, @eparis, @spf13 - would anyone mind taking a look?