You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/10 09:08:30 UTC
[jira] Updated: (CLI-14) [cli] Usage Scenario help page misleading
[ http://issues.apache.org/jira/browse/CLI-14?page=all ]
Henri Yandell updated CLI-14:
-----------------------------
Bugzilla Id: (was: 33044)
Fix Version: 2.0
Make sure this is a non-issue in 2.0.
> [cli] Usage Scenario help page misleading
> -----------------------------------------
>
> Key: CLI-14
> URL: http://issues.apache.org/jira/browse/CLI-14
> Project: Commons CLI
> Type: Bug
> Versions: 1.0
> Environment: Operating System: All
> Platform: All
> Reporter: tim
> Priority: Minor
> Fix For: 2.0
>
> The CLI Usage Scenario text is misleading in the Ant example.
> Specifically the Boolean option code example seems wrong - instead it should
> surely be:
> Option help = new Option( null, "help", "print this message" );
> Option projecthelp = new Option( null, "projecthelp", "print project help
> information" );
> Option version = new Option( null, "version", "print the version information
> and exit" );
> Option quiet = new Option( null, "quiet", "be extra quiet" );
> Option verbose = new Option( null, "verbose", "be extra verbose" );
> Option debug = new Option( null, "debug", "print debugging information" );
> Option emacs = new Option( null, "emacs",
> "produce logging information without adornments" );
> Since these are Long Options, not short ?
> Took me ages to figure out why my code didn't behave properly!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org