Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 37783 invoked by uid 500); 17 Sep 2001 09:31:11 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 37724 invoked from network); 17 Sep 2001 09:31:10 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Peter Donald To: "Avalon Development" Subject: Re: [PATCH] RE: proposed: CLI Args improvement Date: Mon, 17 Sep 2001 19:24:22 +1000 X-Mailer: KMail [version 1.3.1] References: In-Reply-To: X-Wisdom-Cookie: . MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010917093108.NHMX4715.mss.rdc2.nsw.optushome.com.au@there> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 17 Sep 2001 05:40, Michael McKibben wrote: > I've attached a patch for CLArgsParser and ClutilTestCase which adds the > requested feature. committed - taah! > In trying to be consistent with getArguments(), I added > two new methods: getArgumentById(int) and getArgumentByName(String). In > retrospect, should they be renamed getOptions(), and getOptionByXXX since > they return CLOption? Not sure - it prolly does make more sense using "option" - what does everyone else think? > The patched ClutilTestCase adds a test case for > validating the two new methods. I created the patches using cvs diff -u > relative to the project root directory. yay! -- Cheers, Pete *-----------------------------------------------------* | Never argue with an idiot, they'll drag you down to | | their level, and beat you with experience | *-----------------------------------------------------* --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org