Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 34518 invoked from network); 13 Sep 2007 22:01:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 22:01:29 -0000 Received: (qmail 40979 invoked by uid 500); 13 Sep 2007 22:01:20 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40920 invoked by uid 500); 13 Sep 2007 22:01:20 -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 40911 invoked by uid 99); 13 Sep 2007 22:01:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 15:01:20 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 22:03:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8121F71420D for ; Thu, 13 Sep 2007 15:01:04 -0700 (PDT) Message-ID: <9746333.1189720864524.JavaMail.jira@brutus> Date: Thu, 13 Sep 2007 15:01:04 -0700 (PDT) From: "Matt Ray (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (CLI-148) arguments are interpreted as options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org arguments are interpreted as options ------------------------------------ Key: CLI-148 URL: https://issues.apache.org/jira/browse/CLI-148 Project: Commons CLI Issue Type: Bug Components: CLI-1.x Affects Versions: 1.1 Environment: Debian stable x86 with Sun JDK 1.6.0_02 Reporter: Matt Ray Priority: Minor related to https://issues.apache.org/jira/browse/CLI-71 The command-line parser interprets arguments to options as options if they match existing options. Example: Assume -a arg -b arg -a b -b a was fixed in CLI-71, but -a "-b" returns Unable to parse command line: no argument for:a -a "-c" is OK if "-c" is not defined as an option. The option in my case was "-password" and their password happened to match one of the options. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.