On 29/05/2008, Emmanuel Bourg <[EMAIL PROTECTED]> wrote:
> sebb a écrit :
>
>
> > JMeter originally used the CLI code from Excalibur/Avalon, but the
> > project appeared defunct so when some bugs needed fixing the CLI code
> > was extracted, copied to JMeter and fixed.
> >
> > The Avalon CLI code in Commons is a copy of the JMeter version.
> >
> > Although Commons CLI is partly derived from Avalon, the interface is
> > very different.
> >
>
>  Do you know what features or bug fixes implemented in Avalon/JMeter CLI are
> missing from Commons CLI1/CLI2 ?
>

I never used CLI1/CLI2.

However, the fixes needed to the original Excalibur/Avalon code include:
* Fix bug where second arg could not contain "-"
* Fix -D arg1=arg2 parsing bug
* allow arguments with leading -
* Handle missing second argument where next arg is an option
* sorted 2-arg options with leading - in value
* Fix CLI long optional argument to require "=" (as for short options)

The original code was added to JMeter in r325134; the last fix was in r571988.

HTH.

>
>  Emmanuel Bourg
>
> ---------------------------------------------------------------------
>  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