add --email

This commit is contained in:
neil 2021-01-30 11:05:59 +08:00
parent d4a7b75eb7
commit 95d4f4b8b6

View File

@ -6517,7 +6517,7 @@ Parameters:
--cert-home <directory> Specifies the home dir to save all the certs, only valid for '--install' command.
--config-home <directory> Specifies the home dir to save all the configurations.
--useragent <string> Specifies the user agent string. it will be saved for future use too.
-m, --accountemail <email> Specifies the account email, only valid for the '--install' and '--update-account' command.
-m, --email <email> Specifies the account email, only valid for the '--install' and '--update-account' command.
--accountkey <file> Specifies the account key path, only valid for the '--install' command.
--days <ndays> Specifies the days to renew the cert when using '--issue' command. The default value is $DEFAULT_RENEW days.
--httpport <port> Specifies the standalone listening port. Only valid if the server is behind a reverse proxy or load balancer.
@ -7088,7 +7088,7 @@ _process() {
USER_AGENT="$_useragent"
shift
;;
-m | --accountemail)
-m | --email | --accountemail)
_accountemail="$2"
export ACCOUNT_EMAIL="$_accountemail"
shift