commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Neidhart <>
Subject Re: [CLI] - withValueSeparator() usage
Date Wed, 06 Feb 2013 11:46:35 GMT
On 02/06/2013 12:35 PM, Gilles wrote:
>>>>> >  If you would specify hasArgs(3), you would indeed get the values
>>>>> > split into an array of 3 strings.
>>>>> Though in my usage, the argument was a CSV list of arbitrary length,
>>>>> the example I gave just happened to be three.
>>>> Well, I do not think this parameter was intended for dynamic sized
>>>> arguments, but rather for fixed-size key/value pairs.
>>>> The documentation clearly lacks in explaining what this parameter does,
>>>> your use-case would be an extension imho (e.g. allow unlimited arg
>>>> values).
>> Looking at another issue, this seems to be already working,
> Unless my very old patch has been applied without being acknowledged on
> I doubt that _that_ problem is solved (cf. the discussion on JIRA -- hint:
> "[...] if the number of arguments isn't fixed this will aggregate the
> remaining
> arguments arg1 and arg2 [...]").

I did not say that your issue is working, but the problem of the
original poster wrt splitting of argument values.

I should not have responded to your post, this just leads to pointless
discussions ...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message