[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: makemime: various
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-12-20 1:14:58
Message-ID: 201112200214.58523.vda.linux () googlemail ! com
[Download RAW message or body]

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@example.com"
> 	  ^
> or:
> 
> 	-a "To: joeuser@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic