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