Type |
Changes |
By |
 |
Fixed broken Javadoc links on Introduction page. Fixes CLI-248. |
djones |
 |
Fixed code example in javadoc of "Option#Builder#valueSeparator(char)". Fixes CLI-234. Thanks to Greg Thomas. |
tn |
 |
Clarified behavior of "OptionValidator#validateOption(String)" in case of null input. Fixes CLI-241. Thanks to Beluga Behr. |
tn |
 |
Small cleanup of Option class. Fixes CLI-240. Thanks to Beluga Behr. |
tn |
 |
Removed DoubleCheckedLocking test from checkstyle configuration. Fixes CLI-231. Thanks to Duncan Jones. |
tn |
 |
Options.getRequiredOptions() now returns an unmodifiable list. Fixes CLI-230. |
tn |
 |
Added new fluent API to create Option instances via builder class Option.Builder.
This replaces the now deprecated OptionBuilder. Fixes CLI-224. Thanks to Duncan Jones, Brian Blount. |
tn |
 |
Clarify javadoc for CommandLine.getOptionValue() that the first specified
argument will be returned. Fixes CLI-218. Thanks to Sven. |
tn |
 |
Added new method Options.addOption(String, String). Fixes CLI-214. Thanks to Alexandru Mocanu. |
tn |
 |
Changed unit tests to junit 4 annotation style. Fixes CLI-227. Thanks to Duncan Jones. |
tn |
 |
Default options will now work correctly with required options that are missing. Fixes CLI-202. |
ebourg |
 |
Default options will now work correctly together with option groups. Fixes CLI-203. |
ebourg |
 |
The javadoc of OptionBuilder now states that the class is not thread-safe. Fixes CLI-209. Thanks to Thomas Herre. |
ebourg |
 |
HelpFormatter now supports setting the displayed separator of long options. Fixes CLI-169. Thanks to J. Lewis Muir. |
ebourg |
 |
Improve description of parameter "stopAtNonOption" in method
CommandLine.parse(Options, String[], boolean). Fixes CLI-197. Thanks to Anders Larsson. |
ebourg |
 |
Passing default values for not defined options to a parser will now trigger
a ParseException instead of a NullPointerException. Fixes CLI-204. |
ebourg |
 |
HelpFormatter.setArgName(String) now correctly sets the argument name. Fixes CLI-205. |
ebourg |
 |
Default properties provided as input to the Parser.parse() methods are now
correctly processed. Fixes CLI-201. |
ebourg |
 |
CommandLine.getParsedOptionValue() now returns a String object if no
option type has been explicitly set. Fixes CLI-215. Thanks to Manuel Müller. |
ebourg |
 |
Fixed typo in javadoc of class CommandLine. Fixes CLI-200. Thanks to Gerard Weatherby. |
ggregory |
 |
Source code now uses generic types instead of raw types where possible. Fixes CLI-223. Thanks to Gerard Weatherby. |
ebourg |
 |
Corrected javadoc for return type of MissingOptionException.getMissingOptions(). Fixes CLI-220. Thanks to Joe Casadonte. |
ebourg |
 |
HelpFormatter now prints command-line options in the same order as they
have been added. Fixes CLI-212. Thanks to Per Cederberg. |
ebourg |
 |
Standard help text now shows mandatory arguments also for the first option. Fixes CLI-186. Thanks to Kristoff Kiefer. |
ebourg |
 |
HelpFormatter does not strip anymore leading whitespace in the footer text. Fixes CLI-207. Thanks to Uri Moszkowicz. |
ebourg |
 |
Strip quotes contained in argument values only if there is exactly one at the
beginning and one at the end. Fixes CLI-185. Thanks to Einar M R Rosenvinge. |
ebourg |
 |
Negative numerical arguments take precedence over numerical options (only supported
by the new DefaultParser). Fixes CLI-184. |
ebourg |
 |
Fix possible StringIndexOutOfBoundsException in HelpFormatter. Fixes CLI-193. Thanks to Travis McLeskey. |
ebourg |
 |
A new parser is available: DefaultParser. It combines the features of the GnuParser and the PosixParser.
It also provides additional features like partial matching for the long options, and long options without
separator (i.e like the JVM memory settings: -Xmx512m). This new parser deprecates the previous ones. Fixes CLI-161,CLI-167,CLI-181. |
ebourg |
 |
OptionGroups no longer throw an AlreadySelectedException when reused for several parsings. Fixes CLI-183. |
ebourg |
 |
OptionGroup now selects properly an option with no short name. Fixes CLI-182. |
ebourg |
 |
PosixParser now supports partial long options (--ver instead of --version). Fixes CLI-160. |
ebourg |