Cedric Beust | a6e4abd | 2010-10-01 11:42:59 -0700 | [diff] [blame] | 1 | Current |
| 2 | |
Cedric Beust | 4ba2a3c | 2011-11-25 09:34:05 -0800 | [diff] [blame^] | 3 | Added: Support for delegating parameter definitions to child classes (rodionmoiseev) |
Cedric Beust | 66e7895 | 2011-11-23 13:15:16 -0800 | [diff] [blame] | 4 | 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] | 5 | Added: Support for enums (Adrian Muraru) |
Cedric Beust | 4ba2a3c | 2011-11-25 09:34:05 -0800 | [diff] [blame^] | 6 | Fixed: Throw if an unknown option is found |
Cédric Beust | f2af814 | 2011-10-23 12:02:09 -0700 | [diff] [blame] | 7 | |
| 8 | 1.19 |
| 9 | 2011/10/10 |
Cedric Beust | 8a3f562 | 2011-07-15 10:55:52 -0700 | [diff] [blame] | 10 | Added: commandDescriptionKey to @Parameters, to allow internationalized command descriptions |
Cédric Beust | cbdb707 | 2011-10-05 23:14:20 -0700 | [diff] [blame] | 11 | Added: JCommander#setParameterDescriptionComparator for better control over usage() |
Cedric Beust | 876c977 | 2011-08-17 11:09:57 -0700 | [diff] [blame] | 12 | Fixed: Fields of type Set (HashSet and SortedSet) are now supported |
Cedric Beust | dce5bdf | 2011-08-03 11:04:58 -0700 | [diff] [blame] | 13 | Fixed: defaults for commands were not properly applied (Stevo Slavic) |
Cedric Beust | 2ee07bc | 2011-07-27 10:32:36 -0700 | [diff] [blame] | 14 | 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] | 15 | Fixed: GITHUB-73: descriptionKey was being ignored on main parameters |
| 16 | |
| 17 | 1.18 |
| 18 | 2011/07/20 |
| 19 | |
Cedric Beust | db01fd2 | 2011-04-12 13:03:29 -0700 | [diff] [blame] | 20 | Added: Default converter factories can be overridden (Scott Clasen) |
Cedric Beust | 8877f66 | 2011-03-10 11:04:38 -0800 | [diff] [blame] | 21 | Added: IParameterValidator |
Cedric Beust | c199c87 | 2011-07-07 13:34:54 -0700 | [diff] [blame] | 22 | Added: Don't display "Options:" if none were defined |
| 23 | Added: Enforce that the type of the main parameter is a List |
| 24 | Added: usage() now displays the options for each command as well |
Cedric Beust | fe8a696 | 2011-06-13 13:35:31 -0700 | [diff] [blame] | 25 | 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] | 26 | Fixed: Exception when using an @ file with empty lines between options |
Cedric Beust | c199c87 | 2011-07-07 13:34:54 -0700 | [diff] [blame] | 27 | Fixed: OOM when parsing certain descriptions with long URL's in them |
Cedric Beust | 279af56 | 2011-01-24 14:57:44 -0800 | [diff] [blame] | 28 | |
| 29 | 1.15 |
Cedric Beust | e2d8da7 | 2011-01-24 14:01:29 -0800 | [diff] [blame] | 30 | 2011/01/24 |
| 31 | |
Cedric Beust | fce970e | 2010-12-23 12:25:49 -0800 | [diff] [blame] | 32 | 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] | 33 | Fixed: NPE with calling getCommandDescription() of an unknown command |
Cedric Beust | 1f4e89c | 2010-12-23 12:33:45 -0800 | [diff] [blame] | 34 | |
| 35 | 1.13 |
| 36 | 2010/12/15 |
| 37 | |
| 38 | Added: Boolean parameters with arity 0 (e.g. "foo -debug") |
Cedric Beust | a6e4abd | 2010-10-01 11:42:59 -0700 | [diff] [blame] | 39 | Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing. |
| 40 | |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 41 | 1.7 |
Cedric Beust | 3a32b55 | 2010-09-06 07:26:09 -0700 | [diff] [blame] | 42 | 2010/09/06 |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 43 | |
Cedric Beust | 4c020da | 2010-08-31 22:23:52 -0700 | [diff] [blame] | 44 | 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] | 45 | Fixed: JCommander now compatible with Java 5 |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 46 | Fixed: Minor bug in the command display (Marc Ende) |
| 47 | |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 48 | 1.6 |
Cedric Beust | e97a642 | 2010-08-31 22:03:35 -0700 | [diff] [blame] | 49 | 2010/08/28 |
Cedric Beust | 6f6f436 | 2010-07-29 17:18:24 -0700 | [diff] [blame] | 50 | |
Cedric Beust | dda1651 | 2010-08-25 18:54:58 -0700 | [diff] [blame] | 51 | Added: @Parameters(commandDescription = "command description") |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 52 | Added: now throwing an exception if required main parameters are not supplied |
Cedric Beust | a76d5b9 | 2010-08-16 21:48:14 -0700 | [diff] [blame] | 53 | Fixed: usage() was changing default values after two runs (jstrachan) |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 54 | |
| 55 | 1.5 |
| 56 | 2010/08/15 |
| 57 | |
| 58 | Added: overloaded versions of usage() with StringBuilders |
| 59 | Added: inheritance support (Guillaume Sauthier) |
| 60 | Added: support for commands (e.g. "main add --author=cbeust Foo.java") |
| 61 | Added: support for converters for main parameters (e.g. List<HostPort>). |
Cedric Beust | 6f6f436 | 2010-07-29 17:18:24 -0700 | [diff] [blame] | 62 | |
Cedric Beust | c63fd22 | 2010-07-27 11:05:19 -0700 | [diff] [blame] | 63 | 1.4 |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 64 | 2010/07/28 |
Cedric Beust | c63fd22 | 2010-07-27 11:05:19 -0700 | [diff] [blame] | 65 | |
Cedric Beust | abcd2cb | 2010-08-15 17:23:30 -0700 | [diff] [blame] | 66 | Added: string converter factories |
| 67 | Added: IDefaultProvider |
| 68 | Added: PropertyFileDefaultProvider |
| 69 | Added: Usage is now showing required parameters and default value |
| 70 | Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a") |
| 71 | Added: @Parameters(optionPrefixes) to allow for different prefixes than "-" |
Cedric Beust | c63fd22 | 2010-07-27 11:05:19 -0700 | [diff] [blame] | 72 | |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 73 | 1.2 |
Cedric Beust | 72cacba | 2010-08-15 17:23:00 -0700 | [diff] [blame] | 74 | 2010/07/25 |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 75 | |
Cedric Beust | b105641 | 2010-07-20 23:11:25 -0700 | [diff] [blame] | 76 | Usage is now aligned and alphabetically sorted |
| 77 | Added the hidden attribute |
Cedric Beust | fe9b1e5 | 2010-07-23 15:18:22 -0700 | [diff] [blame] | 78 | Added support for different separators than " " (e.g. "="). |
| 79 | Deprecated @ResourceBundle, replaced with @Parameters |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 80 | |
| 81 | 1.1 |
Cedric Beust | fe9b1e5 | 2010-07-23 15:18:22 -0700 | [diff] [blame] | 82 | 2010/08/15 |
Cedric Beust | 2a7a6d4 | 2010-07-20 22:37:47 -0700 | [diff] [blame] | 83 | |
| 84 | Better internationalization |
| 85 | Password support |
| 86 | Type converters |
| 87 | |