commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Keyes <j...@mac.com>
Subject Re: AW: Use of GnuParser
Date Mon, 07 Apr 2003 09:14:39 GMT
I'll confirm this later (I will get the new stuff checked in
soon, a bit busy at the mo).  I think that this should be
resolved, I'll keep you posted.

-John K

On Mon, 2003-04-07 at 09:49, "Menke Jörg, IT2" wrote:
> Hello Achim,
> > when I recently had the need for a command line parser I 
> > discovered the
> > CLI library. For my application the GnuParser seemed to 
> > provide the best
> > match. I ran into a small problem, though. Among other 
> > things, my application 
> > needs to support two options; -T and -O, both requiring an argument:
> >   sampleAppl -T <arg1> -O <arg2>
> > 
> > Unfortunately, "O" is also a valid value for arg1:
> >   sampleAppl -T O 
> > 
> > GnuParser interpreted in this commandline the "O" as option 
> > "-O" not as
> > value for "-T". This caused a MissingArgumentException to be thrown.
> I have exactly the same here (See thread "Inconsistency in Options.hasOption(String)",
for example).
> This should work normally, but - till now - does not (at least with the CVS-Snapshot
I tried last week).
> 
> But maybe John has something in the pipe for that problem now... :)
> 
> cu, Jörg
-- 
John Keyes <jbjk@mac.com>


Mime
View raw message