On Monday 19 December 2011 19:34, Cristian Ionescu-Idbohrn wrote:
> Would be nice to get commit 83e34ac4b574fabd54a2d1a03063b263338ef03d (fix
> -a option not taking parameter) into downloads/fixes-1.19.3.
> 
> Another thing the wihlist is to get some better help on the command.
> Maybe something like:
> 
> -     -a HDR  Add header. Examples:
> +     -a HDR  Add header (multiple options allowed). Examples:

I am changing it to "Add header(s)". It's very small addition,
and hopefully sufficiently strongly hints at the possibility
to use multiple -a's.


> The other thing I'm wondering about is:
> 
>       // parse options
>       opt_complementary = "a::";
> 
> It does not seem to make any difference wether:
> 
>       -a"To: [email protected]"
>         ^
> or:
> 
>       -a "To: [email protected]"
>         ^
> 
> Documentation says:
> 
>         Note that optional arguments _must_
>         immediately follow the option: -oparam, not -o param.
> 
> which does not seem to agree with reality.

Option -a has a *non* optional parameter.
opt_complementary = "a::"  means that -a HDR can be repeated

-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to