2005-02-27 Yoshinori K. Okuji <okuji@enbug.org>
* normal/arg.c (grub_arg_show_help): Do not show the bug report address. * commands/help.c (grub_cmd_help): Do not print newlines after the last command in print_command_help.
This commit is contained in:
parent
93f3a1d868
commit
cee01aa683
3 changed files with 14 additions and 2 deletions
|
@ -61,10 +61,12 @@ grub_cmd_help (struct grub_arg_list *state __attribute__ ((unused)), int argc,
|
|||
|
||||
int print_command_help (grub_command_t cmd)
|
||||
{
|
||||
if (!grub_strncmp (cmd->name, currarg, grub_strlen (currarg)))
|
||||
if (! grub_strncmp (cmd->name, currarg, grub_strlen (currarg)))
|
||||
{
|
||||
if (cnt++ > 0)
|
||||
grub_printf ("\n\n");
|
||||
|
||||
grub_arg_show_help (cmd);
|
||||
grub_printf ("\n\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue