[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix up grub-mkimage help2man output
From: |
Colin Watson |
Subject: |
[PATCH] Fix up grub-mkimage help2man output |
Date: |
Wed, 17 Jun 2009 00:19:09 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
grub-mkimage's help2man output is messed up for a couple of targets;
option lines in help text need to start with two spaces for help2man to
recognise them as options rather than as flowing text. Most of GRUB gets
this right, but a few places don't.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 2334)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2009-06-17 Colin Watson <address@hidden>
+
+ * util/elf/grub-mkimage.c (usage): Prefix each option line with two
+ spaces, for the benefit of help2man.
+ * util/i386/efi/grub-mkimage.c (usage): Likewise.
+
2009-06-16 Pavel Roskin <address@hidden>
* kern/i386/halt.c: Include grub/machine/init.h.
Index: util/elf/grub-mkimage.c
===================================================================
--- util/elf/grub-mkimage.c (revision 2334)
+++ util/elf/grub-mkimage.c (working copy)
@@ -332,14 +332,14 @@
\n\
Make a bootable image of GRUB.\n\
\n\
--d, --directory=DIR use images and modules under DIR [default=%s]\n\
--p, --prefix=DIR set grub_prefix directory\n\
--m, --memdisk=FILE embed FILE as a memdisk image\n\
--o, --output=FILE output a generated image to FILE\n\
--h, --help display this message and exit\n\
--n, --note add NOTE segment for CHRP Open Firmware\n\
--V, --version print version information and exit\n\
--v, --verbose print verbose messages\n\
+ -d, --directory=DIR use images and modules under DIR [default=%s]\n\
+ -p, --prefix=DIR set grub_prefix directory\n\
+ -m, --memdisk=FILE embed FILE as a memdisk image\n\
+ -o, --output=FILE output a generated image to FILE\n\
+ -h, --help display this message and exit\n\
+ -n, --note add NOTE segment for CHRP Open Firmware\n\
+ -V, --version print version information and exit\n\
+ -v, --verbose print verbose messages\n\
\n\
Report bugs to <%s>.\n\
", GRUB_LIBDIR, PACKAGE_BUGREPORT);
Index: util/i386/efi/grub-mkimage.c
===================================================================
--- util/i386/efi/grub-mkimage.c (revision 2334)
+++ util/i386/efi/grub-mkimage.c (working copy)
@@ -1069,12 +1069,12 @@
\n\
Make a bootable image of GRUB.\n\
\n\
--d, --directory=DIR use images and modules under DIR [default=%s]\n\
--p, --prefix=DIR set grub_prefix directory [default=%s]\n\
--o, --output=FILE output a generated image to FILE\n\
--h, --help display this message and exit\n\
--V, --version print version information and exit\n\
--v, --verbose print verbose messages\n\
+ -d, --directory=DIR use images and modules under DIR [default=%s]\n\
+ -p, --prefix=DIR set grub_prefix directory [default=%s]\n\
+ -o, --output=FILE output a generated image to FILE\n\
+ -h, --help display this message and exit\n\
+ -V, --version print version information and exit\n\
+ -v, --verbose print verbose messages\n\
\n\
Report bugs to <%s>.\n\
", GRUB_LIBDIR, DEFAULT_DIRECTORY, PACKAGE_BUGREPORT);
Thanks,
--
Colin Watson address@hidden
- [PATCH] Fix up grub-mkimage help2man output,
Colin Watson <=