1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-22 16:40:48 +00:00

Sort command line flag case statement.

This commit is contained in:
Felddy 2020-06-22 17:05:19 -04:00
parent 482a370679
commit 466ef0cce5
No known key found for this signature in database
GPG key ID: AFD7E112AF75260E

View file

@ -37,10 +37,6 @@ PARAMS=""
# Parse command line arguments
while (( "$#" )); do
case "$1" in
-i|--install-hooks)
INSTALL_HOOKS=1
shift
;;
-f|--force)
FORCE=1
shift
@ -49,6 +45,10 @@ while (( "$#" )); do
echo "${USAGE}"
exit 0
;;
-i|--install-hooks)
INSTALL_HOOKS=1
shift
;;
-*) # unsupported flags
echo "Error: Unsupported flag $1" >&2
exit 1