diff --git a/ghcup b/ghcup index 6962c82..532687d 100755 --- a/ghcup +++ b/ghcup @@ -741,7 +741,11 @@ while [ $# -gt 0 ] ; do case $1 in -v|--verbose) VERBOSE=true - shift 1;; + shift 1 + if [ $# -lt 1 ] ; then + usage + fi + ;; -V|--version) printf "%s" "${VERSION}" exit 0;;