Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 70509 invoked from network); 29 Sep 2004 23:22:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Sep 2004 23:22:12 -0000 Received: (qmail 66899 invoked by uid 500); 29 Sep 2004 23:22:07 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 66819 invoked by uid 500); 29 Sep 2004 23:22:06 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 66803 invoked by uid 99); 29 Sep 2004 23:22:06 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 29 Sep 2004 16:22:06 -0700 Received: (qmail 4599 invoked by uid 50); 29 Sep 2004 23:23:59 -0000 Date: 29 Sep 2004 23:23:59 -0000 Message-ID: <20040929232359.4598.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 31464] - CLI cant parse ANT option set as claimed in official usage guide X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31464 CLI cant parse ANT option set as claimed in official usage guide ------- Additional Comments From ben_hutchison@yahoo.com 2004-09-29 23:23 ------- Re point 2: I tested both Gnu and Posix parsers - the relavant behavior is in a shared "Parser" superclass, where the parsing code is littered with inline string literals like "-" and "--". Re: Point 3. Check the code - the constructor for Options only enforces that a long arg name is set for each option. But, when the help formatter asks Options for a list of Option objects to iterate over, it passes a list derived from the short argument names. A rewrite of CLI would be very welcome... I'll check it out. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org