commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Thomas <greg.d.tho...@gmail.com>
Subject Re: [CLI] - withValueSeparator() usage
Date Sun, 03 Feb 2013 17:29:18 GMT
I've had a look; I the only place that could do with clarification is
the javadoc for getOptionValues @
http://commons.apache.org/cli/api-release/org/apache/commons/cli/CommandLine.html#getOptionValues(java.lang.String)
/ http://commons.apache.org/cli/api-release/org/apache/commons/cli/CommandLine.html#getOptionValues(char)

Currently, both say:

"Retrieves the array of values, if any, of an option."

I'd suggest something like;

Where a valueSeparator is used to separate two argument values, these
will return both values in an array of length 2.
@see OptionBuilder#withValueSeparator()

On 2 February 2013 10:48, Greg Thomas <greg.d.thomas@gmail.com> wrote:
>> Do you think the docs could use some improvement?  We're open to
>> contributions/suggestions if that would help.
>
> I'll see if I can have a look at the wording soon, as come up with an
> alternative suggestion (or if it was just me not paying enough
> attention!).
>
> Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message