Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Yoshinori K. Okuji
On Friday 26 January 2007 17:03, Marco Gerards wrote: > Lubomir Kundrak <[EMAIL PROTECTED]> writes: > >> I preferred that libargp would be included in our source tree so that it > >> would be used when argp is not found in a system, but I guess Marco > >> hasn't done it yet. This depends on which i

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Yoshinori K. Okuji
On Friday 26 January 2007 17:01, Marco Gerards wrote: > There is the library you mentioned and the argp implementation from > gnulib. I personally prefer gnulib, because we don't have to worry > about copyright at all in this case. But I agree, including it so > things work on BSD is prefered. Y

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Marco Gerards
Lubomir Kundrak <[EMAIL PROTECTED]> writes: >> I preferred that libargp would be included in our source tree so that it >> would >> be used when argp is not found in a system, but I guess Marco hasn't done it >> yet. This depends on which is more convenient for users, using an external >> shar

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Marco Gerards
"Yoshinori K. Okuji" <[EMAIL PROTECTED]> writes: Hi, > On Thursday 25 January 2007 12:25, Lubomir Kundrak wrote: >> I've noticed, that GRUB 2 uses argp in grub-emu [1], whereas other >> utilities use getopt_long [2]. Wouldn't it be nice to make this >> consistent? > > Maybe. > >> I find the "GNU

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Lubomir Kundrak
On Pi, 2007-01-26 at 12:58 +0100, Yoshinori K. Okuji wrote: > On Thursday 25 January 2007 12:25, Lubomir Kundrak wrote: > > I've noticed, that GRUB 2 uses argp in grub-emu [1], whereas other > > utilities use getopt_long [2]. Wouldn't it be nice to make this > > consistent? > > Maybe. > > > I fi

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Yoshinori K. Okuji
On Thursday 25 January 2007 12:25, Lubomir Kundrak wrote: > I've noticed, that GRUB 2 uses argp in grub-emu [1], whereas other > utilities use getopt_long [2]. Wouldn't it be nice to make this > consistent? Maybe. > I find the "GNU way," argp, approach more elegant, as demonstrated by a > patch

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-25 Thread Lubomir Kundrak
Forgot to attache the file. Here is it. On Št, 2007-01-25 at 12:25 +0100, Lubomir Kundrak wrote: > I find the "GNU way," argp, approach more elegant, as demonstrated by a > patch to util/i386/pc/grub-mkimage.c. Seeing a patch with more minuses > than pluses is a good sign, indeed. Regards, -- Lu

[PATCH] Making use of argp in GRUB utilities

2007-01-25 Thread Lubomir Kundrak
Hi, I've noticed, that GRUB 2 uses argp in grub-emu [1], whereas other utilities use getopt_long [2]. Wouldn't it be nice to make this consistent? [1] http://www.gnu.org/software/libc/manual/html_node/Argp.html [2] http://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html I find