commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Neidhart <thomas.neidh...@gmail.com>
Subject Re: [CLI] - withValueSeparator() usage
Date Tue, 05 Feb 2013 10:33:45 GMT
On Tue, Feb 5, 2013 at 10:27 AM, Greg Thomas <greg.d.thomas@gmail.com>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).

Thomas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message