- Require Java 11.
- Tested under JDK 19.
- Permit variable names to use either camelCase or snake_case. This has no effect on how the user supplies command-line arguments.
- Tested under JDK 18.
- Don't use version of Apache Commons Text that has a security vulnerability.
- Tested under JDK 17.
- Options version 2.x supports Java 11 and higher. Options version 1.x supports Java 8 and Java 11.
- OptionsDoclet supports "--" or "-" prefix for long options to OptionsDoclet.
For instance, you can pass it
-singledash
as before or the new--singledash
. This is independent of thesetUseSingleDash()
method of Options itself. This is also independent of the-singledash
and--singledash
options to OptionsDoclet.
- Add colon after "default" in option descriptions
- Documentation improvements
- Documentation and annotation improvements
- Bug fixes
- Minor improvements
- Require Java 8
- Support
Path
as an option variable type
- Make getOptionsString public
- Build file improvements, such as work around bug in shadowJar task
- Document the need to set
docletpath
- Prefer camelCase to underscore-separated method and field names.
- Introduce
tokenize
method, reduce number ofparse*
methods