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] Created: (CLI-164) PosixParser ignores unrecognized tokens starting with '-'
Date Mon, 28 Jul 2008 08:19:31 GMT
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
             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