diff options
-rwxr-xr-x | install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ printhelp () { printf " -h) prints this help message\n" printf " -u X ) will clone using X as the URL\n" printf " -U) updates the repos rather than clones\n" + exit ${1:-1} } while getopts "cdhsSu:U" o; do case "${o}" in @@ -40,6 +41,7 @@ while getopts "cdhsSu:U" o; do case "${o}" in HTTP_BASE_URL="$OPTARG" ;; U) UPDATE="y" ;; + h) printhelp 0 ;; *) printhelp ;; esac done |