2009-09-08 Felix Zielcke <fzielcke@z-51.de>

* kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
	`help' if the command exists.
This commit is contained in:
fzielcke 2009-09-08 15:00:28 +00:00
parent e30d87ad55
commit 44454e4c24
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-09-08 Felix Zielcke <fzielcke@z-51.de>
* kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
`help' if the command exists.
2009-09-06 Robert Millan <rmh.grub@aybabtu.com> 2009-09-06 Robert Millan <rmh.grub@aybabtu.com>
* INSTALL: Require GCC 4.1.3 or later. * INSTALL: Require GCC 4.1.3 or later.

View file

@ -61,7 +61,8 @@ grub_rescue_parse_line (char *line, grub_reader_getline_t getline)
else else
{ {
grub_printf ("Unknown command `%s'\n", name); 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: quit: