Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.3, 1.3.1
-
None
-
None
Description
groovy project uses commons-cli in following way:
options.addOption(OptionBuilder.hasArg().withArgName("path").withDescription("Specify where to find the class files - must be first argument").create("classpath")); options.addOption(OptionBuilder.withLongOpt("classpath").hasArg().withArgName("path").withDescription("Aliases for '-classpath'").create("cp"));
When called with long option "--classpath ...", it throws exception:
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --null
Same code works fine with commons-cli 1.2.
Attachments
Issue Links
- links to