You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Timothy Reaves (JIRA)" <ji...@apache.org> on 2013/04/30 16:44:18 UTC

[jira] [Closed] (CLI-236) CommandLine.getOptionValue() only returns first word of string

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

Timothy Reaves closed CLI-236.
------------------------------

    Resolution: Invalid

Issue was with wrapper script, not CLI.
                
> CommandLine.getOptionValue() only returns first word of string
> --------------------------------------------------------------
>
>                 Key: CLI-236
>                 URL: https://issues.apache.org/jira/browse/CLI-236
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.2
>         Environment: Java 1.7, Mac
>            Reporter: Timothy Reaves
>
> I have an option that takes an argument.  On the command line, I use:
> -someOption "A string"
> getOptionValue() should return "A String",  but it returns "A".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira