The state of the option groups is not updated by the default options
--------------------------------------------------------------------

                 Key: CLI-203
                 URL: https://issues.apache.org/jira/browse/CLI-203
             Project: Commons CLI
          Issue Type: Bug
          Components: Parser
    Affects Versions: 1.1
            Reporter: Emmanuel Bourg
            Priority: Minor
             Fix For: 1.3


The state of the option groups is neither checked nor updated when the default 
options passed as a Properties instance to the parse method are processed. For 
example if 'a' and 'b' are two mutually exclusive options, the command line 
argument could specify 'a' and the default options could contain 'b', the 
parser will not complain and the resulting CommandLine will contain 'a' and 'b'.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to