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 2008/07/28 01:39:31 UTC

[jira] Resolved: (CLI-163) PosixParser keeps bursting tokens even if a non option character is found

     [ https://issues.apache.org/jira/browse/CLI-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg resolved CLI-163.
--------------------------------

    Resolution: Fixed

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