test
This commit is contained in:
parent
c3fcc5a10d
commit
3547a67f01
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user