Details
Description
Sorry, I don't have CVS access at my current work and therefore this may not
be the right way to submit this patch, but I wanted to get this out before the
weekend.
[CLI2 - B1]
The functionality of using default values for Arguments at definition stage
does not work. I looked at the test cases and the test cases relating to this
functionality have been commented out, so my guess is that it may have been
left for a later release. I have done a quick fix, which may or may not be the
best way, but it doesn't break any existing functionality and seems to fulfill
the requirement.
Changes are in three files, ArgumentImpl.java (in method processValues), in
WriteableCommandLine.java (added a new method called addDefaults in this
interface) and WriteableCommandLineImpl.java (implemented the addDefaults
method).
I will attach the three files after submitting the bug.
–
Vikram