]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/commands/probe.c (options): Argument to set isn't optional.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 8 Apr 2011 12:28:19 +0000 (14:28 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 8 Apr 2011 12:28:19 +0000 (14:28 +0200)
(GRUB_MOD_INIT): DEVICE isn't optional.

ChangeLog
grub-core/commands/probe.c

index 1b9d768ce8466a86a84df1ef8019f9d925c61210..2bcc1b66b4b0cbc9eaa260209b8a24df076f8c3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-08  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/commands/probe.c (options): Argument to set isn't optional.
+       (GRUB_MOD_INIT): DEVICE isn't optional.
+
 2011-04-08  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/normal/term.c (print_ucs4_terminal): Don't try to put the
index abe84895d91136bc1a75dc3d28e52799dc373499..3ace596d8ca2e41d0e73ff4afa2a8f62bdef84c9 100644 (file)
@@ -34,7 +34,7 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"set",             's', GRUB_ARG_OPTION_OPTIONAL,
+    {"set",             's', 0,
      N_("Set a variable to return value."), "VAR", ARG_TYPE_STRING},
     {"driver",         'd', 0, N_("Determine driver."), 0, 0},
     {"partmap",                'p', 0, N_("Determine partition map type."), 0, 0},
@@ -150,7 +150,7 @@ static grub_extcmd_t cmd;
 
 GRUB_MOD_INIT (probe)
 {
-  cmd = grub_register_extcmd ("probe", grub_cmd_probe, 0, N_("[DEVICE]"),
+  cmd = grub_register_extcmd ("probe", grub_cmd_probe, 0, N_("DEVICE"),
                              N_("Retrieve device info."), options);
 }