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