All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Making use of argp in GRUB utilities
@ 2007-01-25 11:25 Lubomir Kundrak
  2007-01-25 11:34 ` Lubomir Kundrak
  2007-01-26 11:58 ` Yoshinori K. Okuji
  0 siblings, 2 replies; 8+ messages in thread
From: Lubomir Kundrak @ 2007-01-25 11:25 UTC (permalink / raw)
  To: The development of GRUB 2

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 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.

The main argument against agrp framework could be, that non-GNU C
libraries do not contain with it. There's a standalone libargp package
[3] that is available for package systems of all major operating
systems, including NetBSD and FreeBSD, so the only disadvantage is
addding a dependency there.

[3] http://www.lysator.liu.se/~nisse/misc/

Regards,
-- 
Lubomir Kundrak (Red Hat Security Response Team)




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-01-26 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25 11:25 [PATCH] Making use of argp in GRUB utilities Lubomir Kundrak
2007-01-25 11:34 ` Lubomir Kundrak
2007-01-26 11:58 ` Yoshinori K. Okuji
2007-01-26 12:17   ` Lubomir Kundrak
2007-01-26 16:03     ` Marco Gerards
2007-01-26 18:42       ` Yoshinori K. Okuji
2007-01-26 16:01   ` Marco Gerards
2007-01-26 18:38     ` Yoshinori K. Okuji

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.