This commit is contained in:
Heavybullets8 2022-07-25 21:49:47 -06:00
parent 7f41fd1d8d
commit 00e765a14d

View File

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