DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33044>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33044





------- Additional Comments From [EMAIL PROTECTED]  2005-10-05 05:10 -------
The CLI Usage is more than misleading, it's wrong.

In the and ant example the following is given for the '-buildfile' argument:
Option buildfile = OptionBuilder.withArgName( "file" )
                                .hasArg()
                                .withDescription(  "use given buildfile" )
                                .create( "buildfile");

The problem is .create(String) is a char value so it will only see the 'b'. 
This puts the Options in a 
inconsistent state where passing '-buildfile' will result in "Unrecognized 
option '-b'" and the 
HelpFormater will still read "-buildfile <file>". It appears it is not possible 
to match ants short forms of 
options because CLI only supports single character short forms.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to