- Original Message -
From: John Keyes [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 12:27 AM
Subject: Re: [CLI][PATCH] Min and Max size for arguments
ArgumentBuilder.withSize(int) has been retained and sets both min and
max
ArgumentBuilder.withOptionalValues(boolean) has been removed since its
a function of the min and max values.
Argument.hasOptionalValues() has been retained and returns minmax
This should just return min == 0? If min is 0 then that means a
value is
required.
Hmm, there's room for
Attached is a patch that allows arguments to have specified a minimum and maximum
number of values rather than just the previous
size. An example of use might be where you are selecting a number of files for an
operation but want to ensure that at least one
value was specified:
On Tuesday, Jun 10, 2003, at 18:40 Europe/Dublin, Rob Oxspring wrote:
Attached is a patch that allows arguments to have specified a minimum
and maximum number of values rather than just the previous
size. An example of use might be where you are selecting a number
of files for an operation