Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 8349 invoked from network); 7 Jul 2010 14:15:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 14:15:46 -0000 Received: (qmail 96374 invoked by uid 500); 7 Jul 2010 14:15:46 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 96062 invoked by uid 500); 7 Jul 2010 14:15:45 -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 96053 invoked by uid 99); 7 Jul 2010 14:15:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 14:15:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 14:15:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o67E7o60001409 for ; Wed, 7 Jul 2010 14:07:51 GMT Message-ID: <24189183.239491278511670744.JavaMail.jira@thor> Date: Wed, 7 Jul 2010 10:07:50 -0400 (EDT) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (CLI-192) single character arguments are wrongly interpreted as short options In-Reply-To: <1619101299.1260459138120.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLI-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg resolved CLI-192. -------------------------------- Resolution: Cannot Reproduce I wasn't able to reproduce the issue. Please reopen and attach a test case if you encounter this issue with the code from the trunk. > single character arguments are wrongly interpreted as short options > ------------------------------------------------------------------- > > Key: CLI-192 > URL: https://issues.apache.org/jira/browse/CLI-192 > Project: Commons CLI > Issue Type: Bug > Affects Versions: 1.1 > Environment: linux > Reporter: dave rodgman > > If I have a command line which supports "-o" > or equivalently "--option", and "-foo", then > --foo o > gets interpreted as if I had typed "--foo -o", i.e. the "o" is (wrongly) seen as an option > instead of an argument to "--foo". Foo then (wrongly) has no arguments. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.