On 02/03/2013 06:29 PM, Greg Thomas wrote:
> 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()

I think the examples provided in OptionBuilder#withValueSeparator() and
OptionBulder#withValueSeparator(char) should be improved to clearly
indicate that this separator is only used to distinguish between key and
value, and not to split values itself.

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to