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/@platform@] + -d, --directory=DIR use images and modules under DIR [default=${libdir}/grub/@target_cpu@-@platform@]
  -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
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to