fix: --domain/-d is a parameter and not a command!

This commit is contained in:
Markus Germeier
2015-12-16 19:48:48 +01:00
parent d3bc67ebf3
commit 27094cdb65

View File

@@ -570,7 +570,6 @@ while getopts ":hcer:d:xf:p:" option; do
# PARAM_Usage: --domain (-d) domain.tld
# PARAM_Description: Use specified domain name instead of domains.txt, use multiple times for certificate with SAN names
check_parameters "${OPTARG:-}"
set_command sign_domains
if [[ -z "${PARAM_DOMAIN:-}" ]]; then
PARAM_DOMAIN="${OPTARG}"
else