Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Ubuntu 6.06 LTS `Dapper Drake' + JDK1.5.0_06 + Groovy SVN 2006-08-10T17:44
Description
CliBuilder absorbs unexpected single character options. Testing indicates that this is a problem in org.apache.commons.cli.* not in CliBuilder. I guess we have to nag someone about this.
CliBuilder appears not to be getting the ParseException when an unknown multicharacter option is seen. org.apache.commons.cli.* is correctly generating a ParseException in Java code so the problem is with Groovy. The code appears to say that on any ParseException, CliBuilder will write the usage message. A test shows this happens for missing required options but it is not happening for unexpected options.
Attachments
Issue Links
- is depended upon by
-
GROOVY-2214 clearly state the implicit variables used with groovy command -p -n and -a options
- Closed