Re: [cli] Avalon CLI vs Commons CLI 1.x

2008-07-24 Thread Emmanuel Bourg
Jörg Schaible a écrit : Hmmm. I always thought that using the long option the '=' is mandatory while for a short option space is optional. I checked the documentation for getopt [1], the '=' sign after a long option is required only if the argument is optional. Same thing for the short opti

Re: [cli] Avalon CLI vs Commons CLI 1.x

2008-07-22 Thread Jörg Schaible
Emmanuel Bourg wrote: > Emmanuel Bourg a écrit : > >> I'm going to convert the Avalon CLI test case to the Commons CLI API to >> see what features are missing. I'll see if these features can be >> implemented in CLI. So maybe we'll have a "common" API at last. > > I completed the conversion of t

[cli] Avalon CLI vs Commons CLI 1.x

2008-07-22 Thread Emmanuel Bourg
Emmanuel Bourg a écrit : I'm going to convert the Avalon CLI test case to the Commons CLI API to see what features are missing. I'll see if these features can be implemented in CLI. So maybe we'll have a "common" API at last. I completed the conversion of the Avalon CLI tests to the Commons C