Releases: cornfeedhobo/pflag
Releases · cornfeedhobo/pflag
Use cobra integration testing to guarantee consistency
This release resets the state by branching off upstream again and adding cobra integration tests to verify changes along the way. All changes included in the 1.0.x branch have been merged down and re-organized. Several other unreported bugs were found along the way. As a result, a new branch and release has been pushed to track the changes.
Add support for complex128
v1.0.3 Add support for go1.15 complex128 type (#19)
Add IPNetSlice
v1.0.2 Add IPNetSlice (#15)
Initial Release
This marks the first release after forking
CHANGELOG
- Shorthand-only flags can now be defined with the
Sfamily of functions - Added
FlagSet.DisableBuiltinHelpfor disabling built-in help handling - Added
GetFlagsandGetAllFlagsto compliment the visit functions - Added
UnknownFlag,VisitUnknowns, andGetUnknownsto surface unknowns - Added
Flag.UsageTypeto specify a custom flag type - Added
Flag.DisableUnquoteUsageto disable the unquoting and extracting of types from backticks in Usage - Added Int8Slice, Int16Slice, Uint8Slice, Uint16Slice, Uint32Slice, Uint64Slice
- Added
ParseErrorsAllowlistto eventually replaceParseErrorsWhitelist - Bugfix for
FlagSet.failfthat was causing output to be swallowed - Bugfix for
Usageto print toOutput()by default, everywhere