You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/18 09:00:03 UTC
DO NOT REPLY [Bug 31284] New: -
CLI does not support long parameter names on command-line.
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