commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Oxspring" <roxspr...@imapmail.org>
Subject RE: [CLI][Patch] Help displays all options
Date Sat, 16 Nov 2002 12:58:11 GMT
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
> > <Options.patch><OptionsTest.java>--
> > To unsubscribe, e-mail:   
> > <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:commons-dev-help@jakarta.apache.org>
> - - - - - - - - - - - - - - - - - - - - - - -
> Jakarta Commons CLI
> http://jakarta.apache.org/commons/cli
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 
> 


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message