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:
parent
e30d87ad55
commit
44454e4c24
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* INSTALL: Require GCC 4.1.3 or later.
|
||||
|
|
|
@ -61,7 +61,8 @@ grub_rescue_parse_line (char *line, grub_reader_getline_t getline)
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue