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/16 20:00:28 UTC
[jira] Created: (CLI-202) Default options are not taken into
account for the required options
Default options are not taken into account for the required options
-------------------------------------------------------------------
Key: CLI-202
URL: https://issues.apache.org/jira/browse/CLI-202
Project: Commons CLI
Issue Type: Bug
Components: Parser
Affects Versions: 1.1
Reporter: Emmanuel Bourg
Priority: Minor
Fix For: 1.3
The default options passed as a Properties instance to the parse method are not taken into account when the required options are checked at the end of the parsing. If a required option wasn't present among the arguments of the command line and is picked from the default options, a ParseException is thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CLI-202) Default options are not taken into
account for the required options
Posted by "Emmanuel Bourg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLI-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg resolved CLI-202.
--------------------------------
Resolution: Fixed
Fixed for all parsers
> Default options are not taken into account for the required options
> -------------------------------------------------------------------
>
> Key: CLI-202
> URL: https://issues.apache.org/jira/browse/CLI-202
> Project: Commons CLI
> Issue Type: Bug
> Components: Parser
> Affects Versions: 1.1
> Reporter: Emmanuel Bourg
> Priority: Minor
> Fix For: 1.3
>
>
> The default options passed as a Properties instance to the parse method are not taken into account when the required options are checked at the end of the parsing. If a required option wasn't present among the arguments of the command line and is picked from the default options, a ParseException is thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.