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] Resolved: (CLI-180) arguments with spaces parsed as individual arguments
Date Tue, 26 May 2009 17:59:45 GMT

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

Emmanuel Bourg resolved CLI-180.
--------------------------------

    Resolution: Invalid

We should probably document how to deal with spaces, this is a common question.

> arguments with spaces parsed as individual arguments
> ----------------------------------------------------
>
>                 Key: CLI-180
>                 URL: https://issues.apache.org/jira/browse/CLI-180
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.1, 1.2
>            Reporter: Marius Scurtescu
>
> If an argument contains a space then the part after the space is treated as another argument
and you end up with an invalid argument error.
> Tried many things to escape the space: double quotes around the argument value, backslash
before the space, short and long forms, etc. Nothing is working.

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