[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-15 Thread Yves Blusseau
Using argp instead of getopt for the new unified grub-setup --- util/grub-setup.c | 364 + 1 files changed, 201 insertions(+), 163 deletions(-) diff --git a/util/grub-setup.c b/util/grub-setup.c index 55d740f..ca438fe 100644 --- a/util/grub-set

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-14 Thread Yves Blusseau
New patch --- ChangeLog.argp-grub-setup |3 util/i386/pc/grub-setup.c | 358 + 2 files changed, 201 insertions(+), 160 deletions(-) create mode 100644 ChangeLog.argp-grub-setup diff --git a/ChangeLog.argp-grub-setup b/ChangeLog.argp-grub-setup ne

Re: [PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-14 Thread Colin Watson
On Mon, Sep 13, 2010 at 04:06:02PM +0200, Yves Blusseau wrote: > util/i386/pc/grub-setup.c | 315 > - Unless and until they're unified, please keep util/sparc64/ieee1275/grub-setup.c in sync with this as best you can. > -static struct option options[]

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-13 Thread Yves Blusseau
--- ChangeLog.argp-grub-setup |3 util/i386/pc/grub-setup.c | 315 - 2 files changed, 169 insertions(+), 149 deletions(-) create mode 100644 ChangeLog.argp-grub-setup diff --git a/ChangeLog.argp-grub-setup b/ChangeLog.argp-grub-setup new file mod