All Versions
32
Latest Version
Avg Release Cycle
24 days
Latest Release
1879 days ago

Changelog History
Page 3

  • v1.23 Changes

    2012/01/12

    • โž• Added: @DynamicParameter
    • ๐Ÿ›  Fixed: Use JDK 6 Console() when available to improve support of non ascii chars (Julien Henry)
  • v1.20 Changes

    2011/11/24

    • โž• Added: Support for delegating parameter definitions to child classes (rodionmoiseev)
    • โž• Added: @Parameter(commandNames) so that command names can be specified with annotations
    • โž• Added: Support for enums (Adrian Muraru)
    • ๐Ÿ›  Fixed: Throw if an unknown option is found
    • ๐Ÿ›  Fixed: Main parameters are now validated as well (Connor Mullen)
  • v1.19 Changes

    2011/10/10

    • โž• Added: commandDescriptionKey to @Parameters, to allow internationalized command descriptions
    • โž• Added: JCommander#setParameterDescriptionComparator for better control over usage()
    • ๐Ÿ›  Fixed: Fields of type Set (HashSet and SortedSet) are now supported
    • ๐Ÿ›  Fixed: defaults for commands were not properly applied (Stevo Slavic)
    • ๐Ÿ›  Fixed: "-args=a=b,b=c" was not being parsed correctly (Michael Lancaster)
    • ๐Ÿ›  Fixed: #73: descriptionKey was being ignored on main parameters
  • v1.18 Changes

    2011/07/20

    • โž• Added: Default converter factories can be overridden (Scott Clasen)
    • โž• Added: IParameterValidator
    • โž• Added: Don't display "Options:" if none were defined
    • โž• Added: Enforce that the type of the main parameter is a List
    • โž• Added: usage() now displays the options for each command as well
    • ๐Ÿ›  Fixed: Default values with a validator were being validate at parse() time instead of creation time.
    • ๐Ÿ›  Fixed: Exception when using an @ file with empty lines between options
    • ๐Ÿ›  Fixed: OOM when parsing certain descriptions with long URL's in them
  • v1.15 Changes

    2011/01/24

    • โž• Added: Added a constructor that takes a Bundle only, #47 (Russell Egan)
    • ๐Ÿ›  Fixed: NPE with calling getCommandDescription() of an unknown command
  • v1.13 Changes

    2010/12/15

    • โž• Added: Boolean parameters with arity 0 (e.g. "foo -debug")
    • ๐Ÿ›  Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing.
  • v1.7 Changes

    2010/09/06

    • โž• Added: Command usages are now shown in the order they were added to the JCommander object
    • ๐Ÿ›  Fixed: JCommander now compatible with Java 5
    • ๐Ÿ›  Fixed: Minor bug in the command display (Marc Ende)
  • v1.6 Changes

    2010/08/28

    • โž• Added: @Parameters(commandDescription = "command description")
    • โž• Added: now throwing an exception if required main parameters are not supplied
    • ๐Ÿ›  Fixed: usage() was changing default values after two runs (jstrachan)
  • v1.5 Changes

    2010/08/15

    • โž• Added: overloaded versions of usage() with StringBuilders
    • โž• Added: inheritance support (Guillaume Sauthier)
    • โž• Added: support for commands (e.g. "main add --author=cbeust Foo.java")
    • โž• Added: support for converters for main parameters (e.g. List).
  • v1.4 Changes

    2010/07/28

    • โž• Added: string converter factories
    • โž• Added: IDefaultProvider
    • โž• Added: PropertyFileDefaultProvider
    • โž• Added: Usage is now showing required parameters and default value
    • โž• Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a")
    • โž• Added: @Parameters(optionPrefixes) to allow for different prefixes than "-"