Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AA6410922 for ; Tue, 30 Apr 2013 12:48:23 +0000 (UTC) Received: (qmail 81569 invoked by uid 500); 30 Apr 2013 12:48:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 81509 invoked by uid 500); 30 Apr 2013 12:48:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 81492 invoked by uid 99); 30 Apr 2013 12:48:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 12:48:22 +0000 Date: Tue, 30 Apr 2013 12:48:22 +0000 (UTC) From: "Timothy Reaves (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLI-236) CommandLine.getOptionValue() only returns first word of string MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLI-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645540#comment-13645540 ] Timothy Reaves commented on CLI-236: ------------------------------------ I have, yes. Same thing. I think this may be due to CLI-185. > 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