2008-04-01 Pavel Roskin <proski@gnu.org>

* normal/arg.c (grub_arg_show_help): Fix spacing of the long
	options to align them with the short options, e.g. "echo -e".
This commit is contained in:
proski 2008-04-02 01:27:09 +00:00
parent a33224e04b
commit 0f582c6b88
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-04-01 Pavel Roskin <proski@gnu.org>
* normal/arg.c (grub_arg_show_help): Fix spacing of the long
options to align them with the short options, e.g. "echo -e".
2008-03-31 Bean <bean123ch@gmail.com>
* video/reader/png.c (grub_png_data): New member is_16bit and

View File

@ -147,7 +147,7 @@ grub_arg_show_help (grub_command_t cmd)
if (opt->longarg)
{
grub_printf ("--%s", opt->longarg);
spacing -= grub_strlen (opt->longarg);
spacing -= grub_strlen (opt->longarg) + 2;
if (opt->arg)
{