Skip to content

Releases: jbock-java/jbock

reject unknown tokens

21 Nov 17:42
Compare
Choose a tag to compare
  • reject unknown tokens if OtherTokens is not present

required checking

21 Nov 16:40
Compare
Choose a tag to compare
  • 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

15 Nov 16:05
Compare
Choose a tag to compare
  • Long name is defined by default, unless @SuppressLongName is present.
  • Add javadoc for every annotation.

Annotated abstract class

14 Nov 16:23
Compare
Choose a tag to compare

Breaking change: Move away from annotated constructor / static method. Use an annotated abstract class instead, similar to auto-value.

Full Java 9

25 Oct 15:04
Compare
Choose a tag to compare

see README of examples. Is this a bug in the maven-compiler-plugin?

Java 9 compatibility

30 Sep 09:29
Compare
Choose a tag to compare
v1.8.3

release 1.8.3

allow static method

03 Jul 14:44
Compare
Choose a tag to compare

Alternatively, a static method can annotated with @CommandLineArguments.

add printUsage method

29 Jun 18:18
Compare
Choose a tag to compare
v1.8.1

update README

use Optional

17 Jun 20:51
Compare
Choose a tag to compare
  • enforce Optional<String>
  • "invalid token" error message now contains the offending token

v1.7

09 May 19:13
Compare
Choose a tag to compare

allow grouping short options