commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Keyes <j...@mac.com>
Subject Re: [CLI] RFE: when hasArg() is not specified in option definition...
Date Thu, 06 Feb 2003 14:02:50 GMT
Hi Dmitry,

What happens is that the argument is added to the args list of 
the command line so when you call getArgs on the command line
instance you can get at these values i.e. the unrecognised arguments
on the command line.  It could be argued that an error should
be reported here and processing stopped.

-John K

On Thu, 2003-02-06 at 02:05, Dmitry Macsema wrote:
>         ...and when argument for the option is specified at runtime,
>         an exception should be thrown.
-- 
John Keyes <jbjk@mac.com>


Mime
View raw message