commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19383] New: - Missing arguments in HelpFormatter.renderOptions(..)
Date Mon, 28 Apr 2003 11:20:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19383>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19383

Missing arguments in HelpFormatter.renderOptions(..)

           Summary: Missing arguments in HelpFormatter.renderOptions(..)
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: CLI
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: sascha.spiekermann@gmx.net


The method renderOptions(....) ignores Options with no shortOpt.

Possible Solution:
replace
   List optList = options.helpOptions();
   Collections.sort( optList, new StringBufferComparator() );

with
   Collection optList = options.getOptions();

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message