Cedric Beust | a6e4abd | 2010-10-01 11:42:59 -0700 | [diff] [blame] | 1 | Current |
| 2 | |
Cedric Beust | 2c092c0 | 2012-08-01 08:50:32 -0700 | [diff] [blame^] | 3 | Added: JCommander#allowAbbreviatedOptions (default: false) |
Cedric Beust | a8f4de2 | 2012-07-31 11:24:27 -0700 | [diff] [blame] | 4 | Added: JCommander#setCaseSensitiveOptions (default: true) |
Cedric Beust | 5f26073 | 2012-07-30 22:23:27 -0700 | [diff] [blame] | 5 | Fixed: The description of commands is now displayed on the next line and indented. |
Cedric Beust | e79760c | 2012-07-25 14:53:22 -0700 | [diff] [blame] | 6 | Fixed: Empty string defaults now displayed as "<empty string>" in the usage |
Cedric Beust | f65b160 | 2012-07-17 22:44:09 -0700 | [diff] [blame] | 7 | Fixed: Bugs with the PositiveInteger validator |
Cedric Beust | 94e08e7 | 2012-07-17 22:25:26 -0700 | [diff] [blame] | 8 | Fixed: Parameters with a single double quote were not working properly |
Cedric Beust | a856068 | 2012-07-06 23:25:36 -0700 | [diff] [blame] | 9 | |
| 10 | 1.27 |
| 11 | 1012/08/05 |
| 12 | Added: IValueValidator to validate parameter values (typed) as opposed to IParameterValidator which validates strings |
Cedric Beust | 11b27d3 | 2012-05-30 14:51:50 -0700 | [diff] [blame] | 13 | Added: echoInput, used when password=true to echo the characters (Jason Wheeler) |
Cedric Beust | c675ef5 | 2012-07-04 13:23:31 -0700 | [diff] [blame] | 14 | Added: @Parameter(help = true) |
Cedric Beust | 074b8af | 2012-05-31 11:51:19 -0700 | [diff] [blame] | 15 | Fixed: wasn't handling parameters that start with " but don't end with one correctly |
Cedric Beust | 9e22cff | 2012-05-15 14:49:22 -0700 | [diff] [blame] | 16 | Fixed: if using a different option prefix, unknown option are mistakenly reported as "no main parameter defined" (kurmasz) |
Cedric Beust | 13a57cd | 2012-05-08 15:14:12 -0700 | [diff] [blame] | 17 | Fixed: 113: getCommandDescription() returns the description of the main parameter instead of that of the command |
Cedric Beust | fb38f40 | 2012-05-02 11:52:39 -0700 | [diff] [blame] | 18 | Fixed: bug with several multiple arity parameters (VariableArityTest) |
Cedric Beust | c84dbd3 | 2012-04-29 15:17:05 -0700 | [diff] [blame] | 19 | Fixed: variable arities not working when same parameter appears multiple times. |
| 20 | |
Cedric Beust | 5f5b78b | 2012-04-28 17:50:24 -0700 | [diff] [blame] | 21 | 1.25 |
| 22 | 2012/04/26 |
Cedric Beust | d38864b | 2012-03-15 08:09:11 -0700 | [diff] [blame] | 23 | Added: Default passwords are no longer displayed in the usage (Paul Mendelson) |
Cedric Beust | 8f04652 | 2012-04-26 14:00:22 -0700 | [diff] [blame] | 24 | Added: Variable arities now work magically, no need for IVariableArity any more |
| 25 | Fixed: Commands using @Parameters(resourceBundle) were not i18n'ed properly in the usage() |
Cedric Beust | ca0789b | 2012-04-18 10:14:48 -0700 | [diff] [blame] | 26 | Fixed: StringIndexOutOfBoundsException if passing an empty parameter (bomanz) |
Cedric Beust | 3506d02 | 2012-03-12 14:51:40 -0700 | [diff] [blame] | 27 | Fixed: GITHUB-105: If no description is given for an enum, use that enum's value (Adrian Muraru) |
Cedric Beust | 8ebf58f | 2012-03-10 16:12:16 -0800 | [diff] [blame] | 28 | Fixed: GITHUB-108: Dynamic parameters with "=" in them are not parsed correctly (szhem) |
Cedric Beust | 8ad02da | 2012-01-12 13:23:58 -0800 | [diff] [blame] | 29 | Fixed: Commands with same prefix as options were not working properly. |
Cedric Beust | 39e431e | 2012-02-25 16:43:59 -0800 | [diff] [blame] | 30 | Fixed: GITHUB-97: Required password always complains that it is not specified (timoteoponce) |
Cedric Beust | 8ad02da | 2012-01-12 13:23:58 -0800 | [diff] [blame] | 31 | |
| 32 | 1.23 |
| 33 | 2012/01/12 |
| 34 | |
Cedric Beust | a559c60 | 2012-01-10 16:49:06 -0800 | [diff] [blame] | 35 | Added: @DynamicParameter |
Julien HENRY | e45913e | 2011-11-29 09:40:08 +0100 | [diff] [blame] | 36 | Fixed: Use JDK 6 Console() when available to improve support of non ascii chars (Julien Henry) |
| 37 | |
Cedric Beust | af876df | 2011-11-25 11:30:06 -0800 | [diff] [blame] | 38 | 1.20 |
| 39 | 2011/11/24 |
| 40 | |
Cedric Beust | 4ba2a3c | 2011-11-25 09:34:05 -0800 | [diff] [blame] | 41 | Added: Support for delegating parameter definitions to child classes (rodionmoiseev) |
Cedric Beust | 66e7895 | 2011-11-23 13:15:16 -0800 | [diff] [blame] | 42 | Added: @Parameter(commandNames) so that command names can be specified with annotations |
Cédric Beust | f2af814 | 2011-10-23 12:02:09 -0700 | [diff] [blame] | 43 | Added: Support for enums (Adrian Muraru) |
Cedric Beust | 4ba2a3c | 2011-11-25 09:34:05 -0800 | [diff] [blame] | 44 | Fixed: Throw if an unknown option is found |
Cedric Beust | c3507eb | 2011-11-25 10:47:01 -0800 | [diff] [blame] | 45 | Fixed: Main parameters are now validated as well (Connor Mullen) |
Cédric Beust | f2af814 | 2011-10-23 12:02:09 -0700 | [diff] [blame] | 46 | |
| 47 | 1.19 |
| 48 | 2011/10/10 |
Cedric Beust | af876df | 2011-11-25 11:30:06 -0800 | [diff] [blame] | 49 | |
Cedric Beust | 8a3f562 | 2011-07-15 10:55:52 -0700 | [diff] [blame] | 50 | Added: commandDescriptionKey to @Parameters, to allow internationalized command descriptions |
Cédric Beust | cbdb707 | 2011-10-05 23:14:20 -0700 | [diff] [blame] | 51 | Added: JCommander#setParameterDescriptionComparator for better control over usage() |
Cedric Beust | 876c977 | 2011-08-17 11:09:57 -0700 | [diff] [blame] | 52 | Fixed: Fields of type Set (HashSet and SortedSet) are now supported |
Cedric Beust | dce5bdf | 2011-08-03 11:04:58 -0700 | [diff] [blame] | 53 | Fixed: defaults for commands were not properly applied (Stevo Slavic) |
Cedric Beust | 2ee07bc | 2011-07-27 10:32:36 -0700 | [diff] [blame] | 54 | Fixed: "-args=a=b,b=c" was not being parsed correctly (Michael Lancaster) |
Cedric Beust | 4f4ea1f | 2011-07-14 11:17:16 -0700 | [diff] [blame] | 55 | Fixed: GITHUB-73: descriptionKey was being ignored on main parameters |
| 56 | |
| 57 | 1.18 |
| 58 | 2011/07/20 |
| 59 | |
Cedric Beust | db01fd2 | 2011-04-12 13:03:29 -0700 | [diff] [blame] | 60 | Added: Default converter factories can be overridden (Scott Clasen) |
Cedric Beust | 8877f66 | 2011-03-10 11:04:38 -0800 | [diff] [blame] | 61 | Added: IParameterValidator |
Cedric Beust | c199c87 | 2011-07-07 13:34:54 -0700 | [diff] [blame] | 62 | Added: Don't display "Options:" if none were defined |
| 63 | Added: Enforce that the type of the main parameter is a List |
| 64 | Added: usage() now displays the options for each command as well |
Cedric Beust | fe8a696 | 2011-06-13 13:35:31 -0700 | [diff] [blame] | 65 | Fixed: Default values with a validator were being validate at parse() time instead of creation time. |
Cedric Beust | 8877f66 | 2011-03-10 11:04:38 -0800 | [diff] [blame] | 66 | Fixed: Exception when using an @ file with empty lines between options |
Cedric Beust | c199c87 | 2011-07-07 13:34:54 -0700 | [diff] [blame] | 67 | Fixed: OOM when parsing certain descriptions with long URL's in them |
Cedric Beust | 279af56 | 2011-01-24 14:57:44 -0800 | [diff] [blame] | 68 | |
| 69 | 1.15 |
Cedric Beust | e2d8da7 | 2011-01-24 14:01:29 -0800 | [diff] [blame] | 70 | 2011/01/24 |
| 71 | |
Cedric Beust | fce970e | 2010-12-23 12:25:49 -0800 | [diff] [blame] | 72 | Added: Added a constructor that takes a Bundle only, https://github.com/cbeust/jcommander/pull/47 (Russell Egan) |
Cedric Beust | e2d8da7 | 2011-01-24 14:01:29 -0800 | [diff] [blame] | 73 | Fixed: NPE with calling getCommandDescription() of an unknown command |
Cedric Beust | 1f4e89c | 2010-12-23 12:33:45 -0800 | [diff] [blame] | 74 | |
| 75 | 1.13 |
| 76 | 2010/12/15 |
| 77 | |
| 78 | Added: Boolean parameters with arity 0 (e.g. "foo -debug") |
Cedric Beust | a6e4abd | 2010-10-01 11:42:59 -0700 | [diff] [blame] | 79 | Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing. |
| 80 | |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 81 | 1.7 |
Cedric Beust | 3a32b55 | 2010-09-06 07:26:09 -0700 | [diff] [blame] | 82 | 2010/09/06 |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 83 | |
Cedric Beust | 4c020da | 2010-08-31 22:23:52 -0700 | [diff] [blame] | 84 | Added: Command usages are now shown in the order they were added to the JCommander object |
Cedric Beust | 22b8a2f | 2010-09-06 07:17:37 -0700 | [diff] [blame] | 85 | Fixed: JCommander now compatible with Java 5 |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 86 | Fixed: Minor bug in the command display (Marc Ende) |
| 87 | |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 88 | 1.6 |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 89 | 2010/08/28 |
Cedric Beust | 6f6f436 | 2010-07-29 17:18:24 -0700 | [diff] [blame] | 90 | |
Cedric Beust | dda1651 | 2010-08-25 18:54:58 -0700 | [diff] [blame] | 91 | Added: @Parameters(commandDescription = "command description") |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 92 | Added: now throwing an exception if required main parameters are not supplied |
Cedric Beust | a76d5b9 | 2010-08-16 21:48:14 -0700 | [diff] [blame] | 93 | Fixed: usage() was changing default values after two runs (jstrachan) |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 94 | |
| 95 | 1.5 |
| 96 | 2010/08/15 |
| 97 | |
| 98 | Added: overloaded versions of usage() with StringBuilders |
| 99 | Added: inheritance support (Guillaume Sauthier) |
| 100 | Added: support for commands (e.g. "main add --author=cbeust Foo.java") |
| 101 | Added: support for converters for main parameters (e.g. List<HostPort>). |
Cedric Beust | 6f6f436 | 2010-07-29 17:18:24 -0700 | [diff] [blame] | 102 | |
Cedric Beust | c63fd22 | 2010-07-27 11:05:19 -0700 | [diff] [blame] | 103 | 1.4 |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 104 | 2010/07/28 |
Cedric Beust | c63fd22 | 2010-07-27 11:05:19 -0700 | [diff] [blame] | 105 | |
Cedric Beust | abcd2cb | 2010-08-15 17:23:30 -0700 | [diff] [blame] | 106 | Added: string converter factories |
| 107 | Added: IDefaultProvider |
| 108 | Added: PropertyFileDefaultProvider |
| 109 | Added: Usage is now showing required parameters and default value |
| 110 | Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a") |
| 111 | Added: @Parameters(optionPrefixes) to allow for different prefixes than "-" |
Cedric Beust | c63fd22 | 2010-07-27 11:05:19 -0700 | [diff] [blame] | 112 | |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 113 | 1.2 |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 114 | 2010/07/25 |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 115 | |
Cedric Beust | b105641 | 2010-07-20 23:11:25 -0700 | [diff] [blame] | 116 | Usage is now aligned and alphabetically sorted |
| 117 | Added the hidden attribute |
Cedric Beust | fe9b1e5 | 2010-07-23 15:18:22 -0700 | [diff] [blame] | 118 | Added support for different separators than " " (e.g. "="). |
| 119 | Deprecated @ResourceBundle, replaced with @Parameters |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 120 | |
| 121 | 1.1 |
Cedric Beust | fe9b1e5 | 2010-07-23 15:18:22 -0700 | [diff] [blame] | 122 | 2010/08/15 |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 123 | |
| 124 | Better internationalization |
| 125 | Password support |
| 126 | Type converters |
| 127 | |