Releasing debian version 4.0~alpha39-1.
[debian-live-build.git] / functions / usage.sh
blobb70b86239d62cfa7a98de14dcd302b621047bb26
1 #!/bin/sh
3 ## live-build(7) - System Build Scripts
4 ## Copyright (C) 2006-2014 Daniel Baumann <mail@daniel-baumann.ch>
5 ##
6 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
7 ## This is free software, and you are welcome to redistribute it
8 ## under certain conditions; see COPYING for details.
11 Usage ()
13 printf "%s - %s\n" "${PROGRAM}" "${DESCRIPTION}"
14 echo
15 Echo "Usage:"
16 echo
18 if [ -n "${USAGE}" ]
19 then
20 Echo " ${USAGE}"
21 echo
24 printf " %s [-h|--help]\n" "${PROGRAM}"
25 printf " %s [-u|--usage]\n" "${PROGRAM}"
26 printf " %s [-v|--version]\n" "${PROGRAM}"
27 echo
28 Echo "Try \"%s --help\" for more information." "${PROGRAM}"
30 exit 1