This commit is contained in:
Heavybullets8 2022-07-25 22:40:05 -06:00
parent 3547a67f01
commit 6c24507dd7

View File

@ -67,7 +67,7 @@ do
# existing or starting with dash? # existing or starting with dash?
if [[ -n $nextopt && $nextopt != -* ]] ; then if [[ -n $nextopt && $nextopt != -* ]] ; then
OPTIND=$((OPTIND + 1)) OPTIND=$((OPTIND + 1))
ignore+=("$OPTARG") ignore+=("$nextopt")
else else
echo "Option: \"-i\" requires an argument" echo "Option: \"-i\" requires an argument"
exit exit