mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-04 23:13:41 +01:00
refuse to process invalid arguments to cipherscan itself
This commit is contained in:
parent
5f43f911bd
commit
fc4927be5b
10
cipherscan
10
cipherscan
@ -1335,11 +1335,11 @@ do
|
||||
shift
|
||||
break
|
||||
;;
|
||||
# -*)
|
||||
# UNKNOWNOPTIONS=$((UNKNOWNOPTIONS+$1))
|
||||
# # echo "WARN: Unknown option (ignored): $1" >&2
|
||||
# shift
|
||||
# ;;
|
||||
-*)
|
||||
UNKNOWNOPTIONS=$((UNKNOWNOPTIONS+$1))
|
||||
echo "$0: Unknown option: $1" >&2
|
||||
exit 1
|
||||
;;
|
||||
*) # no more options we understand.
|
||||
break
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user