On Thu, Apr 13, 2006 at 03:19:24PM +0100, Andrew Shirley wrote:
> Hi,
>
> I have found a bug in the following scenario:
> You have an option which can take a single argument which in turn has a
> default
> value. You supply a value on the command line which is intended to override
> this default
> Please find attached a patch and a testsuite.
:-)
Index:
src/java/org/apache/commons/cli2/commandline/WriteableCommandLineImpl.java
===
--- src/java/org/apache/commons/cli2/commandline/WriteableCommandLineImpl.java
(revision 3863
Hi,
I have found a bug in the following scenario:
You have an option which can take a single argument which in turn has a default
value. You supply a value on the command line which is intended to override
this default however as the CommandLine already has a value for this Option,
this second val