commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CLI-14) Usage Scenario help page misleading
Date Fri, 25 Jul 2008 08:43:31 GMT

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


Mime
View raw message