diff --git a/README.md b/README.md index de0e7e0..9589162 100644 --- a/README.md +++ b/README.md @@ -134,10 +134,6 @@ With email notification: ``` ./bin/acme.sh [-I, --install] [-E, --email] EMAIL_ADDR ``` -Without email notification: -``` -./bin/acme.sh [-I, --install] [-NE, --no-email] -``` ### Applying a Let's Encrypt Certificate Use the root domain in this command, and it will check for a certificate and automatically apply one with and without `www`: ``` diff --git a/bin/acme.sh b/bin/acme.sh index a91b42d..f0650c0 100755 --- a/bin/acme.sh +++ b/bin/acme.sh @@ -30,9 +30,7 @@ help_message(){ echo "${EPACE}${EPACE}Display help and exit." echo -e "\033[1m Only for the First time\033[0m" echow '--install --email [EMAIL_ADDR]' - echo "${EPACE}${EPACE}Will install ACME with the Email provided" - echow '--install --no-email' - echo "${EPACE}${EPACE}Will install ACME without the Email." + echo "${EPACE}${EPACE}Will install ACME with the Email provided" exit 0 ;; "3") @@ -204,10 +202,7 @@ while [ ! -z "${1}" ]; do -[eE] | --email ) shift check_input "${1}" EMAIL="${1}" - ;; - -NE | --no-email ) shift - NO_EMAIL=true - ;; + ;; *) help_message 2 ;;