makemime: various

Denys Vlasenko vda.linux at googlemail.com
Tue Dec 20 01:14:58 UTC 2011


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: joeuser at example.com"
> 	  ^
> or:
> 
> 	-a "To: joeuser at example.com"
> 	  ^
> 
> 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


More information about the busybox mailing list