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/12 00:24:13 UTC
[jira] Updated: (CLI-189) "Unexpected --help while processing"
[ https://issues.apache.org/jira/browse/CLI-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated CLI-189:
-------------------------------
Fix Version/s: 2.0
> "Unexpected --help while processing"
> ------------------------------------
>
> Key: CLI-189
> URL: https://issues.apache.org/jira/browse/CLI-189
> Project: Commons CLI
> Issue Type: Bug
> Components: CLI-2.x, Help formatter
> Affects Versions: 2.0
> Environment: snapshot jar
> Reporter: Guillaume Perrot
> Fix For: 2.0
>
>
> The help trigger feature seems not working.
> When I pass --help to the command line, I have "Unexpected --help while processing", then usage is printed.
> Code snippet:
> {code:java}
> Parser parser = new Parser();
> parser.setGroup(group);
> parser.setHelpFormatter(new HelpFormatter());
> parser.setHelpTrigger("--help");
> parser.parseAndHelp(args);
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.