commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (CLI-164) PosixParser ignores unrecognized tokens starting with '-'
Date Mon, 28 Jul 2008 08:35:31 GMT

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

Emmanuel Bourg reopened CLI-164:
--------------------------------

      Assignee: Emmanuel Bourg

Actually, the option is ignored even if stopAtNonOption is disabled, no exception is thrown.

> PosixParser ignores unrecognized tokens starting with '-'
> ---------------------------------------------------------
>
>                 Key: CLI-164
>                 URL: https://issues.apache.org/jira/browse/CLI-164
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.1
>            Reporter: Emmanuel Bourg
>            Assignee: Emmanuel Bourg
>             Fix For: 1.2
>
>
> PosixParser doesn't handle properly unrecognized tokens starting with '-' when stopAtNonOption
is enabled, the token is simply ignored.
> For example, if the option 'a' is defined, the following command line:
> {code}-z -a foo{code}
> is interpreted as:
> {code}-a foo{code}

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


Mime
View raw message