Skip to content

Commit c0a339a

Browse files
committed
Updated the changes for CLI 1.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@680761 13f79535-47bb-0310-9956-ffa450edef68
1 parent e179f1f commit c0a339a

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

xdocs/changes.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,28 @@
2323
<body>
2424

2525
<release version="1.2" date="in SVN" description="This is a maintenance release containing bug fixes.">
26+
<action type="fix" dev="ebourg" issue="CLI-137">
27+
The number of arguments defined for an option specifies the arguments per occurence of the option
28+
and not for all occurences. This was a major regression in CLI 1.1 which prevented the use of repeated options.
29+
</action>
30+
<action type="add" dev="ebourg">
31+
Added a getOptionProperties() method in the CommandLine class to retrieve easily the key/value pairs
32+
specified with options like -Dkey1=value1 -Dkey2=value2.
33+
</action>
34+
<action type="update" dev="ebourg" issue="CLI-157">
35+
GnuParser now supports long options with an '=' sign (ie. --foo=bar and -foo=bar)
36+
</action>
37+
<action type="fix" dev="ebourg" issue="CLI-164">
38+
PosixParser no longer ignores unrecognized short options.
39+
</action>
40+
<action type="fix" dev="ebourg" issue="CLI-163">
41+
PosixParser no longer stops the bursting process of a token if stopAtNonOption is enabled and a non option
42+
character is encountered.
43+
</action>
44+
<action type="fix" dev="ebourg" issue="CLI-165">
45+
PosixParser no longer keeps processing the tokens after an unrecognized long option
46+
when stopAtNonOption is enabled.
47+
</action>
2648
<action type="fix" dev="ebourg" issue="CLI-156">
2749
Required options are properly checked if an Options instance is used twice to parse a command line.
2850
</action>
@@ -35,15 +57,21 @@
3557
<action type="fix" dev="bayard" issue="CLI-149">
3658
The message of MissingOptionException has been improved.
3759
</action>
60+
<action type="update" dev="ebourg" issue="CLI-86">
61+
The exceptions have been enhanced with methods to retrieve easily the related options.
62+
</action>
3863
<action type="fix" dev="bayard" issue="CLI-141" due-to="Henning Schmiedehausen, Bjorn Townsend">
39-
Option.toString() now reports arguments properly.
64+
Option.toString() now reports arguments properly.
4065
</action>
4166
<action type="update" dev="bayard" issue="CLI-142" due-to="Henning Schmiedehausen">
4267
The Parser class has been changed to be more easily extendable.
4368
</action>
4469
<action type="update" dev="bayard" issue="CLI-140">
4570
The following classes are now serializable: Option, OptionGroup, CommandLine and Options.
4671
</action>
72+
<action type="remove" dev="ebourg">
73+
OptionValidator is no longer public, its methods were all private.
74+
</action>
4775
</release>
4876

4977
<release version="1.1" date="2007-07-08" description="This is a maintenance release containing bug fixes.">

0 commit comments

Comments
 (0)