ignore
This commit is contained in:
parent
2d0388d9b5
commit
682ead72a7
@ -66,7 +66,7 @@ do
|
||||
eval nextopt=${!OPTIND}
|
||||
# existing or starting with dash?
|
||||
if [[ -n $nextopt && $nextopt != -* ]] ; then
|
||||
OPTIND=$((OPTIND + 1))
|
||||
OPTIND=$((OPTIND++))
|
||||
ignore+=("$nextopt")
|
||||
else
|
||||
echo "Option: \"-i\" requires an argument"
|
||||
|
Loading…
Reference in New Issue
Block a user