You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralf Edmund Stranzenbach (JIRA)" <ji...@apache.org> on 2015/11/24 17:06:11 UTC

[jira] [Created] (CLI-260) Opption parsing does not recognize quotes as end of option

Ralf Edmund Stranzenbach created CLI-260:
--------------------------------------------

             Summary: Opption parsing does not recognize quotes as end of option
                 Key: CLI-260
                 URL: https://issues.apache.org/jira/browse/CLI-260
             Project: Commons CLI
          Issue Type: Bug
          Components: CLI-1.x
    Affects Versions: 1.3.1
            Reporter: Ralf Edmund Stranzenbach


A command String like

    *-k'option=value'*

does not recognize the string *option=value* as the parameter of *-k*.

Instead *-k'option* is parsed as the option and *value* as parameter.

Workaround: use *-k='option=value'* instead. But users might think otherwise.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)