From 00e765a14d84ea41a3b94b37a0008370766712d1 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 21:49:47 -0600 Subject: [PATCH] test --- heavy_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heavy_script.sh b/heavy_script.sh index d0df8bed..5ee2afcc 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -66,8 +66,8 @@ do rollback="true" ;; i) - [[ -z "$OPTARG" ]] && echo "\"-i\" requires an argument" && exit ignore+=("$OPTARG") + [[ -z "$ignore" ]] && echo "\"-i\" requires an argument" && exit ;; t) re='^[0-9]+$' @@ -93,7 +93,7 @@ do verbose="true" ;; *) - echo -e "Invalid Option \"--$OPTARG\"\n" && help + echo -e "Invalid Option \"-$OPTARG\"\n" && help exit ;; esac