Alex are you calling as:
"cmd -d /usr/bin , /etc" (case A)
or
"cmd -d /usr/bin,/etc" (case B)
The value separator is used only in the case of a single string token. In
case A there are four tokens passed '-d' '/usr/bin' ',' and '/etc'. In case
B there are only two tokens passed '-d' '/usr/bin,/etc'.
-John K
On 10/11/05, Alex <[EMAIL PROTECTED]> wrote:
>
> Hello, maybe i have encoutred a bug in version 2.0 of CLI. If i create
> the next Argument
>
> new ArgumentBuilder().withDescription(withDescription)
>
> .withLongName(withLongName)
>
> .withMaximumSize(withMaxSize)
>
> .withMinimumSize(withMinSize)
> .withName(withName)
>
> .withRequired(required)
>
> .withValueName(withValueName)
>
> .withValueSeparator(valueSeparator)
>
> .withValueValidator(withValueValidator)
>
> .withValueType(type)
> .create();
> where with valueSeparator = ','
>
> Then if i created the next entry {"-d","/usr/bin",",","/etc"}; then an
> error is encoutred, but, if i put {"-d","/usr/bin","/etc"} works
> perfectly, but if you see i have no specified any separator.
>
>