throw error on unsupported flags

This commit is contained in:
Denis Lehmann 2021-04-26 02:47:30 +02:00
parent 296b178497
commit ff47937e65

3
strm
View file

@ -75,6 +75,9 @@ while (( "$#" )); do
shuffle=true shuffle=true
shift shift
;; ;;
-*|--*=)
error "Unsupported flag $1"
;;
*) *)
query+=("$1") query+=("$1")
shift shift