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 2010/06/15 18:17:23 UTC

[jira] Resolved: (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 resolved CLI-14.
-------------------------------

    Fix Version/s: 1.1
                       (was: 2.0)
       Resolution: Fixed

This issue was actually fixed in CLI 1.1. It was specific to the PosixPaser, the GnuParser didn't have this issue in CLI 1.0.

I couldn't find the related bug where that was fixed, probably CLI-1 or CLI-71.

> 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: 1.1
>
>
> 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.