Bug#590874: grub-pc: --help option and help command show help with missing whitespace
Josh Triplett
josh at joshtriplett.org
Thu Jul 29 19:47:54 UTC 2010
Package: grub-pc
Version: 1.98+20100722-1
Severity: normal
Tags: upstream
The help command, and the --help option to various commands, now seems
to show broken help output that lacks newlines between options and
whitespace between an option and its help text.
For example, "cat --help" shows:
Usage: cat FILE
Show the contents of a file.
--dosAccept DOS-style CR/NL line endings.-h, --helpDisplay this help and
exit.-u, --usageDisplay the usage of this command and exit.
This bug does not occur in the upstream grub-1.98 release, but it does
occur with a current upstream snapshot from bzr, and it does occur with
the current version in Debian.
- Josh Triplett
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 / ext3 rw,noatime,errors=remount-ro,barrier=0,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-INTEL_SSDSA2MH080G1GC_CVEM8390007H080DGN
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc6-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.35-rc6-amd64 ...'
linux /boot/vmlinuz-2.6.35-rc6-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-rc6-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc6-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.35-rc6-amd64 ...'
linux /boot/vmlinuz-2.6.35-rc6-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-rc6-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.35-rc5-amd64 ...'
linux /boot/vmlinuz-2.6.35-rc5-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-rc5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.35-rc5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.35-rc5-amd64 ...'
linux /boot/vmlinuz-2.6.35-rc5-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-rc5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34-1-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.34-1-amd64 ...'
linux /boot/vmlinuz-2.6.34-1-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.34-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.34-1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.34-1-amd64 ...'
linux /boot/vmlinuz-2.6.34-1-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.34-1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=a8fb9a37-fac7-4a3e-8081-fc7b347bd0b2 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.33 Debian configuration management sy
ii grub-common 1.98+20100722-1 GRand Unified Bootloader, version
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-2 The Linux Kernel Device Mapper use
ii ucf 3.0025 Update Configuration File: preserv
grub-pc recommends no packages.
Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
-- debconf information excluded
More information about the Pkg-grub-devel
mailing list