chore: change argument name and parameter shift

This commit is contained in:
Frederic Werner 2021-02-18 19:20:48 +01:00 committed by GitHub
parent d221c585c2
commit 6e6b5be1ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ do
shift shift
shift shift
else else
echo "No keysize provided after 'size' argument. Aborting." >&2 echo "No keysize provided after 'keysize' argument. Aborting." >&2
exit 2 exit 2
fi fi
;; ;;
@ -86,8 +86,8 @@ do
if [[ -n ${2+'set'} ]] if [[ -n ${2+'set'} ]]
then then
DOMAINS="${2}" DOMAINS="${2}"
break shift
break shift
else else
echo "No domain(s) provided after 'domain' argument. Aborting." >&2 echo "No domain(s) provided after 'domain' argument. Aborting." >&2
exit 2 exit 2