not sure
This commit is contained in:
parent
682ead72a7
commit
0fde7bf999
@ -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++))
|
OPTIND=$((OPTIND + 1))
|
||||||
ignore+=("$nextopt")
|
ignore+=("$nextopt")
|
||||||
else
|
else
|
||||||
echo "Option: \"-i\" requires an argument"
|
echo "Option: \"-i\" requires an argument"
|
||||||
@ -87,7 +87,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++))
|
OPTIND=$((OPTIND + 1))
|
||||||
update_limit="$nextopt"
|
update_limit="$nextopt"
|
||||||
else
|
else
|
||||||
update_limit=1
|
update_limit=1
|
||||||
@ -99,7 +99,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++))
|
OPTIND=$((OPTIND + 1))
|
||||||
update_limit="$nextopt"
|
update_limit="$nextopt"
|
||||||
else
|
else
|
||||||
update_limit=1
|
update_limit=1
|
||||||
|
Loading…
Reference in New Issue
Block a user