throw error on unsupported flags
This commit is contained in:
parent
296b178497
commit
ff47937e65
1 changed files with 3 additions and 0 deletions
3
strm
3
strm
|
|
@ -75,6 +75,9 @@ while (( "$#" )); do
|
||||||
shuffle=true
|
shuffle=true
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
-*|--*=)
|
||||||
|
error "Unsupported flag $1"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
query+=("$1")
|
query+=("$1")
|
||||||
shift
|
shift
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue