ignore
This commit is contained in:
parent
2d0388d9b5
commit
682ead72a7
@ -66,7 +66,7 @@ do
|
|||||||
eval nextopt=${!OPTIND}
|
eval nextopt=${!OPTIND}
|
||||||
# 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++))
|
||||||
ignore+=("$nextopt")
|
ignore+=("$nextopt")
|
||||||
else
|
else
|
||||||
echo "Option: \"-i\" requires an argument"
|
echo "Option: \"-i\" requires an argument"
|
||||||
|
Loading…
Reference in New Issue
Block a user