PATCH: Add -i IFACE option to wget

Bernhard Fischer rep.nop at aon.at
Tue Oct 24 08:40:49 UTC 2006


On Mon, Oct 23, 2006 at 05:38:15PM +0200, Raphaël HUCK wrote:
>
>>On Mon, Oct 23, 2006 at 03:50:44PM +0200, Raphaël HUCK wrote:
>>
>>>>-       opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:",
>>>>+       opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:i:",
>>>>
>>>>BTW, I don't know what these funny high ASCII chars are doing here...
>>>>do you? Maybe they can be killed?
>>>I was also wondering what these chars are doing here. Anybody knows ? 
>>>Are they useful if a long option has no corresponding long option?
>>
>>A short option that has no long option (or vice versa), yes.
>
>Where can I find more info on these ?

e.g.: http://www.busybox.net/lists/busybox/2005-August/015281.html

resp. search for  long option short site:busybox.net
or the like.

It seems to be a commonly used way to deal with long options that have
no short option counterpart, from the looks.
>
>
>>>>+                       bb_error_msg_and_die("Unable to bind to
>>>>specified interface (-i)");
>>>>
>>>>We're (supposed to be) size maniacs. "can't bind to %s" will be
>>>>as informative.
>>
>>We have xbind() no?
>
>Not in Busybox 1.1.3, but since revision 15767 yes.

Right. Let me note that our current stable release according to
busybox.net/news.html is 1.2.1 :)



More information about the busybox mailing list