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
|
@ -1,3 +1,11 @@
|
|||
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.
|
||||
|
||||
2005-02-27 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* commands/default.h: New file.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -130,7 +130,9 @@ grub_arg_show_help (grub_command_t cmd)
|
|||
if (cmd->options)
|
||||
showargs (cmd->options);
|
||||
showargs (help_options);
|
||||
#if 0
|
||||
grub_printf ("\nReport bugs to <%s>.\n", PACKAGE_BUGREPORT);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue