diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:47 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:28 +0100 |
commit | 677415f6d7efc1e5b888570d70af311d2900c69c (patch) | |
tree | 32fe7ced768666c229fff913fe12cbbf2fdd34e4 /functions/usage.sh | |
parent | 811ff0532fcb3305ebefcd1d61e4eb6c260902eb (diff) | |
download | vyos-live-build-677415f6d7efc1e5b888570d70af311d2900c69c.tar.gz vyos-live-build-677415f6d7efc1e5b888570d70af311d2900c69c.zip |
Adding live-helper 1.0~a2-1.
Diffstat (limited to 'functions/usage.sh')
-rwxr-xr-x | functions/usage.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/functions/usage.sh b/functions/usage.sh new file mode 100755 index 000000000..7f8d69489 --- /dev/null +++ b/functions/usage.sh @@ -0,0 +1,16 @@ +#!/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 +} |