only use --server, provide example

This commit is contained in:
Dan Jeffery 2017-05-10 13:30:01 -06:00
parent 83105d4a6c
commit 3aaeb0df97

View File

@ -4851,7 +4851,7 @@ Parameters:
--useragent Specifies the user agent string. it will be saved for future use too.
--accountemail Specifies the account email for registering, Only valid for the '--install' command.
--accountkey Specifies the account key path, Only valid for the '--install' command.
--apiurl, --server, -s [acme api URL] Specifies the particular acme api endpoint to use
--server [acme api url] Specifies the particular acme api endpoint to use (e.g. https://acme-v01.api.letsencrypt.org)
--days Specifies the days to renew the cert when using '--issue' command. The max value is $MAX_RENEW days.
--httpport Specifies the standalone listening port. Only valid if the server is behind a reverse proxy or load balancer.
--tlsport Specifies the standalone tls listening port. Only valid if the server is behind a reverse proxy or load balancer.
@ -5271,7 +5271,7 @@ _process() {
ACCOUNT_KEY_PATH="$_accountkey"
shift
;;
--apiurl | --server | -s)
--server)
_apiurl="$2"
API="$_apiurl"
shift