live-build/functions/usage.sh

17 lines
310 B
Bash
Raw Normal View History

2007-09-23 08:04:47 +00:00
#!/bin/sh
# usage.sh - handle usage information
Usage ()
{
echo "${PROGRAM} - ${DESCRIPTION}"
echo
echo "${USAGE}"
echo "Usage: ${PROGRAM} [-h|--help]"
echo "Usage: ${PROGRAM} [-u|--usage]"
echo "Usage: ${PROGRAM} [-v|--version]"
echo
echo "Try \"${PROGRAM} --help\" for more information."
exit 1
}