Releases: jbock-java/jbock
Releases · jbock-java/jbock
reject unknown tokens
- reject unknown tokens if OtherTokens is not present
required checking
- Allow
String
arguments, which are required - more meaningful error messages
- long name is always defined, unless SuppressLongName is present
- printUsage method handles OtherTokens and EverythingAfter more correctly
- printUsage method mentions all possible forms of every argument
- removed the ArgumentName annotation, added an argumentName argument to Description instead
auto long name
- Long name is defined by default, unless
@SuppressLongName
is present. - Add javadoc for every annotation.
Annotated abstract class
Breaking change: Move away from annotated constructor / static method. Use an annotated abstract class instead, similar to auto-value.
Full Java 9
see README of examples. Is this a bug in the maven-compiler-plugin?
Java 9 compatibility
v1.8.3 release 1.8.3
allow static method
Alternatively, a static method can annotated with @CommandLineArguments
.
add printUsage method
v1.8.1 update README
use Optional
- enforce
Optional<String>
- "invalid token" error message now contains the offending token
v1.7
allow grouping short options