commit-grub
[Top][All Lists]
Advanced

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

[2576] 2009-09-08 Felix Zielcke <address@hidden>


From: Felix Zielcke
Subject: [2576] 2009-09-08 Felix Zielcke <address@hidden>
Date: Tue, 08 Sep 2009 15:00:29 +0000

Revision: 2576
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2576
Author:   fzielcke
Date:     2009-09-08 15:00:28 +0000 (Tue, 08 Sep 2009)
Log Message:
-----------
2009-09-08  Felix Zielcke  <address@hidden>

        * kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
        `help' if the command exists.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/kern/rescue_parser.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-09-06 15:20:33 UTC (rev 2575)
+++ trunk/grub2/ChangeLog       2009-09-08 15:00:28 UTC (rev 2576)
@@ -1,3 +1,8 @@
+2009-09-08  Felix Zielcke  <address@hidden>
+
+       * kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
+       `help' if the command exists.
+
 2009-09-06  Robert Millan  <address@hidden>
 
        * INSTALL: Require GCC 4.1.3 or later.

Modified: trunk/grub2/kern/rescue_parser.c
===================================================================
--- trunk/grub2/kern/rescue_parser.c    2009-09-06 15:20:33 UTC (rev 2575)
+++ trunk/grub2/kern/rescue_parser.c    2009-09-08 15:00:28 UTC (rev 2576)
@@ -61,7 +61,8 @@
   else
     {
       grub_printf ("Unknown command `%s'\n", name);
-      grub_printf ("Try `help' for usage\n");
+      if (grub_command_find ("help"))
+       grub_printf ("Try `help' for usage\n");
     }
 
  quit:





reply via email to

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