You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by John Keyes <jb...@mac.com> on 2003/02/06 15:02:50 UTC

Re: [CLI] RFE: when hasArg() is not specified in option definition...

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 <jb...@mac.com>