What's Changed
- Fix defaultIsZeroValue check for generic Value types by @MidnightRocket in https://github.com/spf13/pflag/pull/422
- feat: Use structs for errors returned by pflag. by @eth-p in https://github.com/spf13/pflag/pull/425
- Fix typos by @co63oc in https://github.com/spf13/pflag/pull/428
- fix #423 : Add helper function and some documentation to parse shorthand go test flags. by @valdar in https://github.com/spf13/pflag/pull/424
- add support equivalent to golang flag.TextVar(), also fixes the test failure as described in #368 by @hujun-open in https://github.com/spf13/pflag/pull/418
- add support for Func() and BoolFunc() #426 by @LeGEC in https://github.com/spf13/pflag/pull/429
- fix: correct argument length check in FlagSet.Parse by @ShawnJeffersonWang in https://github.com/spf13/pflag/pull/409
- fix usage message for func flags, fix arguments order by @LeGEC in https://github.com/spf13/pflag/pull/431
- Add support for time.Time flags by @max-frank in https://github.com/spf13/pflag/pull/348
New Contributors
- @MidnightRocket made their first contribution in https://github.com/spf13/pflag/pull/422
- @eth-p made their first contribution in https://github.com/spf13/pflag/pull/425
- @co63oc made their first contribution in https://github.com/spf13/pflag/pull/428
- @valdar made their first contribution in https://github.com/spf13/pflag/pull/424
- @hujun-open made their first contribution in https://github.com/spf13/pflag/pull/418
- @LeGEC made their first contribution in https://github.com/spf13/pflag/pull/429
- @ShawnJeffersonWang made their first contribution in https://github.com/spf13/pflag/pull/409
- @max-frank made their first contribution in https://github.com/spf13/pflag/pull/348
Full Changelog: https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7