options - version history

v1.1 (2013-06-08)

  • Bug fix for "--"; argument parsing no longer automatically stops.
  • options now present in central repository.
  • Allow extending parsing to arbitrary classes by adding custom value parsers:
@Option(valueParser=MyValueParser.class)

v1.0.2 (2013-05-28)

  • Add support for float, double and Class.

v1.0.1 (2013-05-11)

  • Add support for short.

v1.0 (2013-01-24)

  • We now support all access classifications including private.
  • Integer default values now work (same as Long).

v0.9.4 (2012-04-20)

  • There is now support for enums, for when a limitied number of choices are available. Consider:
    enum Optimization { size, speed };
    @Option(shortName="o")
    public Optimization optimization = Optimization.size;

v0.9.3 (2011-02-28)

  • Support java.io.File and java.net.URL options.

v0.9.2 (2010-06-24)

  • Fixed the other dependency on Java 1.6 :/.
  • Now support integer arguments (not just long).

v0.9.1(2009-10-06)

  • Fixed the dependency on Java 1.6. Can now be run by 1.5 too.

v0.9 (2009-02-27)

  • Initial release.