]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-02-27 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Sun, 27 Feb 2005 22:19:55 +0000 (22:19 +0000)
committerokuji <okuji@localhost>
Sun, 27 Feb 2005 22:19:55 +0000 (22:19 +0000)
  * 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.

ChangeLog
commands/help.c
normal/arg.c

index 940056b79c5d8c9d4d45d57071c856c1e959aaaf..85564a96952d4a906649719406a46b45d7f9560d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 5f36e279e53067b164a9fa24c55fb8a8a8bece05..b057875864c1dd567f2e92c1905fcbd76f74846d 100644 (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;
     }
index 60b25f27aa4a686cd5ccf1c3e8fd5e7672d2b1e2..b834d31162a24996905cbb3c04a12b6830b0309f 100644 (file)
@@ -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
 }