blob: f16f616d65de602ed1c26bb64e2a46535b49e212 [file] [log] [blame]
Cedric Beusta6e4abd2010-10-01 11:42:59 -07001Current
2
Cedric Beust8877f662011-03-10 11:04:38 -08003Added: IParameterValidator
Cedric Beust279af562011-01-24 14:57:44 -08004Added: Don't display "Options:" if none were defined.
5Added: Enforce that the type of the main parameter is a List.
Cedric Beust8877f662011-03-10 11:04:38 -08006Fixed: Exception when using an @ file with empty lines between options
Cedric Beust279af562011-01-24 14:57:44 -08007Fixed: OOM when parsing certain descriptions with long URL's in them.
8
91.15
Cedric Beuste2d8da72011-01-24 14:01:29 -0800102011/01/24
11
Cedric Beustfce970e2010-12-23 12:25:49 -080012Added: Added a constructor that takes a Bundle only, https://github.com/cbeust/jcommander/pull/47 (Russell Egan)
Cedric Beuste2d8da72011-01-24 14:01:29 -080013Fixed: NPE with calling getCommandDescription() of an unknown command
Cedric Beust1f4e89c2010-12-23 12:33:45 -080014
151.13
162010/12/15
17
18Added: Boolean parameters with arity 0 (e.g. "foo -debug")
Cedric Beusta6e4abd2010-10-01 11:42:59 -070019Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing.
20
Cedric Beuste97a6422010-08-31 22:03:35 -0700211.7
Cedric Beust3a32b552010-09-06 07:26:09 -0700222010/09/06
Cedric Beuste97a6422010-08-31 22:03:35 -070023
Cedric Beust4c020da2010-08-31 22:23:52 -070024Added: Command usages are now shown in the order they were added to the JCommander object
Cedric Beust22b8a2f2010-09-06 07:17:37 -070025Fixed: JCommander now compatible with Java 5
Cedric Beuste97a6422010-08-31 22:03:35 -070026Fixed: Minor bug in the command display (Marc Ende)
27
Cedric Beust72cacba2010-08-15 17:23:00 -0700281.6
Cedric Beuste97a6422010-08-31 22:03:35 -0700292010/08/28
Cedric Beust6f6f4362010-07-29 17:18:24 -070030
Cedric Beustdda16512010-08-25 18:54:58 -070031Added: @Parameters(commandDescription = "command description")
Cedric Beust72cacba2010-08-15 17:23:00 -070032Added: now throwing an exception if required main parameters are not supplied
Cedric Beusta76d5b92010-08-16 21:48:14 -070033Fixed: usage() was changing default values after two runs (jstrachan)
Cedric Beust72cacba2010-08-15 17:23:00 -070034
351.5
362010/08/15
37
38Added: overloaded versions of usage() with StringBuilders
39Added: inheritance support (Guillaume Sauthier)
40Added: support for commands (e.g. "main add --author=cbeust Foo.java")
41Added: support for converters for main parameters (e.g. List<HostPort>).
Cedric Beust6f6f4362010-07-29 17:18:24 -070042
Cedric Beustc63fd222010-07-27 11:05:19 -0700431.4
Cedric Beust72cacba2010-08-15 17:23:00 -0700442010/07/28
Cedric Beustc63fd222010-07-27 11:05:19 -070045
Cedric Beustabcd2cb2010-08-15 17:23:30 -070046Added: string converter factories
47Added: IDefaultProvider
48Added: PropertyFileDefaultProvider
49Added: Usage is now showing required parameters and default value
50Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a")
51Added: @Parameters(optionPrefixes) to allow for different prefixes than "-"
Cedric Beustc63fd222010-07-27 11:05:19 -070052
Cedric Beust2a7a6d42010-07-20 22:37:47 -0700531.2
Cedric Beust72cacba2010-08-15 17:23:00 -0700542010/07/25
Cedric Beust2a7a6d42010-07-20 22:37:47 -070055
Cedric Beustb1056412010-07-20 23:11:25 -070056Usage is now aligned and alphabetically sorted
57Added the hidden attribute
Cedric Beustfe9b1e52010-07-23 15:18:22 -070058Added support for different separators than " " (e.g. "=").
59Deprecated @ResourceBundle, replaced with @Parameters
Cedric Beust2a7a6d42010-07-20 22:37:47 -070060
611.1
Cedric Beustfe9b1e52010-07-23 15:18:22 -0700622010/08/15
Cedric Beust2a7a6d42010-07-20 22:37:47 -070063
64Better internationalization
65Password support
66Type converters
67