# Print the usage.
usage () {
cat <<EOF
-Usage: grub-mkrescue [OPTION] output_image
+Usage: $0 [OPTION] output_image
Make GRUB rescue image.
-h, --help print this message and exit
--emulation=TYPE select El Torito boot emulation type floppy
or none (default) (cdrom only)
-grub-mkimage generates a bootable rescue image of the specified type.
+$0 generates a bootable rescue image of the specified type.
Report bugs to <bug-grub@gnu.org>.
EOF
usage
exit 0 ;;
-v | --version)
- echo "grub-mkrescue (GNU GRUB ${PACKAGE_VERSION})"
+ echo "$0 (GNU GRUB ${PACKAGE_VERSION})"
exit 0 ;;
--modules=*)
modules=`echo "$option" | sed 's/--modules=//'` ;;