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 14:38:15 UTC

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

Timothy Reaves created CLI-236:
----------------------------------

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