You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2008/07/25 10:43:31 UTC
[jira] Updated: (CLI-14) Usage Scenario help page misleading
[ https://issues.apache.org/jira/browse/CLI-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated CLI-14:
------------------------------
Component/s: (was: CLI-2.x)
Documentation
Environment: (was: Operating System: All
Platform: All)
Summary: Usage Scenario help page misleading (was: [cli] Usage Scenario help page misleading)
> Usage Scenario help page misleading
> -----------------------------------
>
> Key: CLI-14
> URL: https://issues.apache.org/jira/browse/CLI-14
> Project: Commons CLI
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.0
> 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.
-
You can reply to this email to add a comment to the issue online.