Releases: ko1nksm/getoptions
Releases · ko1nksm/getoptions
v2.2.0
v2.1.0
v2.0.1
v2.0.0
- 2.0.0 - 2020-10-29
- Improved the custom error handler. [breaking change]
- The default error message is passed as the first argument, and changed the order of the arguments.
- Adds
:<PATTERN>to the validator name "pattern" for flexible customization of error message. - Adds
:<STATUS>to the custom validator name for flexible customization of error message. - Changed the return value of custom error handler to be used as the exit status.
- Invoke validator before pattern matching. [breaking change]
- Added extension features (
prehookandinvoke). setuphelper function.- Added
helpandleadingattributes.- Calling
getoptions_helpis no longer needed. [breaking change]
- Calling
- Remove
equalattribute.
- Added
optionhelper function.- Changed the
defaultattribute to theonattribute. [breaking change] - Added support
--no-optionsyntax and theoffattribute.
- Changed the
flag,param,option,dispandmsghelper function.- Added
labelattribute.
- Added
setup,flag,paramandoptionhelper function.- Added
@exportas initial value.
- Added
- Disable expansion variables in the help display. [breaking change]
- Improved the custom error handler. [breaking change]