test
This commit is contained in:
@@ -87,8 +87,8 @@ 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++))
|
||||||
update_limit="$OPTARG"
|
update_limit="$nextopt"
|
||||||
else
|
else
|
||||||
update_limit=1
|
update_limit=1
|
||||||
fi
|
fi
|
||||||
@@ -99,8 +99,8 @@ 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++))
|
||||||
update_limit="$OPTARG"
|
update_limit="$nextopt"
|
||||||
else
|
else
|
||||||
update_limit=1
|
update_limit=1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user