Added invalid argument test.

This commit is contained in:
Derek Smith 2022-08-15 09:42:15 -04:00
parent 3bf42bba2a
commit a962ab6050
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC

View File

@ -95,7 +95,8 @@ for i in "$@"; do
shift
;;
*)
# unknown option
echo "Unexpected option: $1"
exit 1
;;
esac
done