2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-25 04:03:41 +01:00

refuse to process invalid arguments to cipherscan itself

This commit is contained in:
Richard Soderberg 2015-08-31 15:04:39 -07:00
parent 5f43f911bd
commit fc4927be5b

View File

@ -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
;;