Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 57819 invoked from network); 16 Nov 2002 12:58:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Nov 2002 12:58:20 -0000 Received: (qmail 10730 invoked by uid 97); 16 Nov 2002 12:59:17 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 10714 invoked by uid 97); 16 Nov 2002 12:59:16 -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 10701 invoked by uid 98); 16 Nov 2002 12:59:16 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Epoch: 1037451491 X-Sasl-enc: 8TYyGYJxlw6ljHwRVhIRgg From: "Rob Oxspring" To: "'Jakarta Commons Developers List'" Subject: RE: [CLI][Patch] Help displays all options Date: Sat, 16 Nov 2002 12:58:11 -0000 Message-ID: <006601c28d6f$d2e56350$e68efe3e@asimov> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <074BCA53-F8EB-11D6-9A77-00039379521C@mac.com> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Not sure what you mean about help vs usage... Maybe it's the autoUsage flag that I've just noticed in printHelp? Eitherway it works for me so it's all good. Thanks, Rob > -----Original Message----- > From: John Keyes [mailto:jbjk@mac.com] > Sent: 15 November 2002 22:39 > To: Jakarta Commons Developers List > Subject: Re: [CLI][Patch] Help displays all options > > > Hi Rob, > > I had a look at that bug. I noticed that the usage statement > worked yet the help didn't. So I had a quick look at it and > made a small mod to getOptions and helpOptions that fixes the > issue. Thanks for the > patch > it pointed me in the correct direction. > > Thanks a million, > -John K > > On Thursday, Nov 14, 2002, at 22:48 Europe/Dublin, Rob Oxspring wrote: > > > The list of options displayed by HelpFormatter was based only the > > short options. In this patch helpOptions returns a list of all the > > options. > > > > The test checks that the options added all appear in the > helpOptions > > method. I didn't spend long looking at the existing test > cases so if > > there is a more appropriate class to put the one testcase > in then feel > > free to move. > > > > Cheers, > > > > Rob > > -- > > To unsubscribe, e-mail: > > > > For additional commands, e-mail: > > > - - - - - - - - - - - - - - - - - - - - - - - > Jakarta Commons CLI > http://jakarta.apache.org/commons/cli > > > -- > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > For > additional commands, > e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: