One of the failing unit tests on the ROXSPRING branch was the testWithOption method on CommandLineDefaultsTests. The reason it failed was the default value set during Option construction was not accessible to CommandLine.getValue. So to make this information accessible I propose we add a getArgument method to Parent and getDefaults to Argument. To see if any default during construction we simply do:
if (option instanceof Parent) {
Argument arg = ((Parent) option).getArgument();
List defaults = arg.getDefaults();
}Did you have a different idea about how to resolve this Rob?
-John K
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
