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
S
family of functions - Added
FlagSet.DisableBuiltinHelp
for disabling built-in help handling - Added
GetFlags
andGetAllFlags
to compliment the visit functions - Added
UnknownFlag
,VisitUnknowns
, andGetUnknowns
to surface unknowns - Added
Flag.UsageType
to specify a custom flag type - Added
Flag.DisableUnquoteUsage
to disable the unquoting and extracting of types from backticks in Usage - Added Int8Slice, Int16Slice, Uint8Slice, Uint16Slice, Uint32Slice, Uint64Slice
- Added
ParseErrorsAllowlist
to eventually replaceParseErrorsWhitelist
- Bugfix for
FlagSet.failf
that was causing output to be swallowed - Bugfix for
Usage
to print toOutput()
by default, everywhere