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 31284] New: - CLI does not support long parameter names on command-line.
Date Sat, 18 Sep 2004 07:00:03 GMT
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=31284>.
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=31284

CLI does not support long parameter names on command-line.

           Summary: CLI does not support long parameter names on command-
                    line.
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: CLI
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: cp1965@ROGERS.com


The documentation of CLI says that CLI supports short (single character) and 
long parameter names (string).  It even gives as example the ANT java 
application.  However, after doing several tests and reviewing the JavaDoc 
thoroughly, I am left to conclude that the assumption is false.  I checked the 
ANT application source code to find out that ANT DOES NOT USE CLI as command-
line parser.

The code for CLI needs to be reviewed and updated to support long parameter 
names on the command-line.  I would also suggest to use an XML approach to 
declare the various command-line parameters and formats.  A more declarative 
approach would certainly makes things easier.

---------------------------------------------------------------------
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