PosixParser keeps bursting tokens even if a non option character is found
-------------------------------------------------------------------------

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


PosixParser doesn't stop the bursting process of a token if stopAtNonOption is 
enabled and a non option character is encountered.

For example if the options a and b are defined, with stopAtNonOption=true the 
following command line:

{code}-azb{code}

is turned into:

{code}-a zb -b{code}

the right output should be:

{code}-a zb{code}


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