mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
install: --compress argument is not optional
Fixes crash if argument is not specified. Also use `|' to separate choices in list of compression methods to align it with --core-compress.
This commit is contained in:
1 parent
cfabe05cc6
commit
76197d9be6
1 file changed
+1
-1
@@ -39,7 +39,7 @@
|
|||||||
{ "locales", GRUB_INSTALL_OPTIONS_INSTALL_LOCALES, N_("LOCALES"),\
|
{ "locales", GRUB_INSTALL_OPTIONS_INSTALL_LOCALES, N_("LOCALES"),\
|
||||||
0, N_("install only LOCALES [default=all]"), 1 }, \
|
0, N_("install only LOCALES [default=all]"), 1 }, \
|
||||||
{ "compress", GRUB_INSTALL_OPTIONS_INSTALL_COMPRESS, \
|
{ "compress", GRUB_INSTALL_OPTIONS_INSTALL_COMPRESS, \
|
||||||
"no,xz,gz,lzo", OPTION_ARG_OPTIONAL, \
|
"no|xz|gz|lzo", 0, \
|
||||||
N_("compress GRUB files [optional]"), 1 }, \
|
N_("compress GRUB files [optional]"), 1 }, \
|
||||||
{"core-compress", GRUB_INSTALL_OPTIONS_INSTALL_CORE_COMPRESS, \
|
{"core-compress", GRUB_INSTALL_OPTIONS_INSTALL_CORE_COMPRESS, \
|
||||||
"xz|none|auto", \
|
"xz|none|auto", \
|
||||||
|
|||||||
Reference in new issue
Block a user