grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub-mkstandalone help text fix


From: Seth Goldberg
Subject: Re: grub-mkstandalone help text fix
Date: Wed, 28 Sep 2011 14:19:40 -0700 (PDT)
User-agent: Alpine 2.00 (GSO 1167 2008-08-23)


On second thought, that may not always be right (i.e. if there's a program_prefix, so "grub" would need the "transform" applied to it).

 --S

Quoting Seth Goldberg, who wrote the following on Wed, 28 Sep 2011:

Hi,

 I noticed the --help text was incorrect and incomplete, so here's a patch:

--S

=== modified file 'util/grub-mkstandalone.in'
--- util/grub-mkstandalone.in   2011-07-25 06:19:30 +0000
+++ util/grub-mkstandalone.in   2011-09-28 21:13:36 +0000
@@ -47,9 +47,10 @@
  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  -o, --output=FILE       save output in FILE [required]
- -d, --directory=DIR use images and modules under DIR [default=%s/@address@hidden + -d, --directory=DIR use images and modules under DIR [default=${libdir}/grub/@address@hidden@address@hidden
  -O, --format=FORMAT     generate an image in format
-                          available formats: %s
+ available formats: $(${bindir}/grub-mkimage --help | \ + grep available\ formats | cut -f2 -d:)
  -C, --compression=(xz|none|auto)  choose the compression to use
  --modules=MODULES       pre-load specified modules MODULES
  --grub-mkimage=FILE     use FILE as grub-mkimage


_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]