2007-09-23 08:04:47 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2007-09-23 08:04:48 +00:00
|
|
|
# help.sh - print help information
|
2008-03-06 14:43:00 -01:00
|
|
|
# Copyright (C) 2006-2008 Daniel Baumann <daniel@debian.org>
|
2007-09-23 08:04:48 +00:00
|
|
|
#
|
|
|
|
# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
|
|
|
|
# This is free software, and you are welcome to redistribute it
|
|
|
|
# under certain conditions; see COPYING for details.
|
|
|
|
|
|
|
|
set -e
|
2007-09-23 08:04:47 +00:00
|
|
|
|
|
|
|
Help ()
|
|
|
|
{
|
|
|
|
echo "${PROGRAM} - ${DESCRIPTION}"
|
|
|
|
echo
|
2007-09-23 08:04:48 +00:00
|
|
|
echo "Usage:"
|
2007-09-23 08:04:47 +00:00
|
|
|
echo
|
2007-09-23 08:04:48 +00:00
|
|
|
|
|
|
|
if [ -n "${USAGE}" ]
|
|
|
|
then
|
2007-11-13 07:00:16 -01:00
|
|
|
/bin/echo -e "${USAGE}"
|
2007-09-23 08:04:48 +00:00
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo " ${PROGRAM} [-h|--help]"
|
|
|
|
echo " ${PROGRAM} [-u|--usage]"
|
|
|
|
echo " ${PROGRAM} [-v|--version]"
|
2007-09-23 08:04:47 +00:00
|
|
|
echo
|
2007-09-23 08:04:48 +00:00
|
|
|
|
|
|
|
if [ -n "${HELP}" ]
|
|
|
|
then
|
|
|
|
echo "${HELP}"
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
2007-09-23 08:04:47 +00:00
|
|
|
echo "Report bugs to Debian Live project <http://debian-live.alioth.debian.org/>."
|
|
|
|
exit 0
|
|
|
|
}
|