On 03/06/2008, Emmanuel Bourg <[EMAIL PROTECTED]> wrote:
> Russel Winder a écrit :
>
>
> > Actually I think that will give [ 'source=1.5' , 'target=1.5'] but that
> > is fine.
> >
>
>  The withValueSeparator() method splits the value on the equal sign, that's
> why the option receives the values 'source' and '1.5' instead of
> 'source=1.5'.
>
>
>
> > This is the 1.0 semantics I think.  I guess the question is why did the
> > semantics get changed, there must have been a rationale.
> >
>
>  I'm almost convinced this was a mistake. I dug into the Subversion history
> and the collection of Options in the CommandLine class was changed to a Set
> (thus forcing only one occurrence for each option) in a patch attached to
> CLI-13. This issue was about getOptionValue() not working with the long
> option name, it had nothing to do with the semantic of the number of
> arguments.
>

I agree it seems most likely it was a mistake.

If a behaviour change had been intended, then there should have been
warnings in the release notes.

And if the behaviour change had been documented, I would have expected
the release vote to generate a few -1s ...

>  Emmanuel Bourg
>
>
>  https://issues.apache.org/jira/browse/CLI-13
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to