Adding lb_bootstrap_hooks manpage.
[debian-live-build.git] / functions / help.sh
blob201eac4f28fa909b51b72ae24acad485267969f3
1 #!/bin/sh
3 ## live-build(7) - System Build Scripts
4 ## Copyright (C) 2006-2013 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 Help ()
13 Echo "%s - %s" "${PROGRAM}" "${DESCRIPTION}"
14 echo
15 Echo "Usage:"
16 echo
18 if [ -n "${USAGE}" ]
19 then
20 Echo "${USAGE}"
21 echo
23 Echo " %s [-h|--help]" "${PROGRAM}"
24 Echo " %s [-u|--usage]" "${PROGRAM}"
25 Echo " %s [-v|--version]" "${PROGRAM}"
26 echo
28 if [ -n "${HELP}" ]
29 then
30 Echo "${HELP}"
31 echo
34 Echo "Report bugs to the Live Systems project <http://live-systems.org/>."
35 exit 0