Fix letsencrypt-auto name and long forms of -n (#5375)

This commit is contained in:
Brad Warren
2018-01-05 19:27:00 -08:00
committed by ohemorange
parent a1713c0b79
commit 18f6deada8
2 changed files with 10 additions and 6 deletions
+5 -3
View File
@@ -68,10 +68,12 @@ for arg in "$@" ; do
NO_BOOTSTRAP=1;; NO_BOOTSTRAP=1;;
--help) --help)
HELP=1;; HELP=1;;
--noninteractive|--non-interactive|renew) --noninteractive|--non-interactive)
ASSUME_YES=1;; NONINTERACTIVE=1;;
--quiet) --quiet)
QUIET=1;; QUIET=1;;
renew)
ASSUME_YES=1;;
--verbose) --verbose)
VERBOSE=1;; VERBOSE=1;;
-[!-]*) -[!-]*)
@@ -93,7 +95,7 @@ done
if [ $BASENAME = "letsencrypt-auto" ]; then if [ $BASENAME = "letsencrypt-auto" ]; then
# letsencrypt-auto does not respect --help or --yes for backwards compatibility # letsencrypt-auto does not respect --help or --yes for backwards compatibility
ASSUME_YES=1 NONINTERACTIVE=1
HELP=0 HELP=0
fi fi
@@ -68,10 +68,12 @@ for arg in "$@" ; do
NO_BOOTSTRAP=1;; NO_BOOTSTRAP=1;;
--help) --help)
HELP=1;; HELP=1;;
--noninteractive|--non-interactive|renew) --noninteractive|--non-interactive)
ASSUME_YES=1;; NONINTERACTIVE=1;;
--quiet) --quiet)
QUIET=1;; QUIET=1;;
renew)
ASSUME_YES=1;;
--verbose) --verbose)
VERBOSE=1;; VERBOSE=1;;
-[!-]*) -[!-]*)
@@ -93,7 +95,7 @@ done
if [ $BASENAME = "letsencrypt-auto" ]; then if [ $BASENAME = "letsencrypt-auto" ]; then
# letsencrypt-auto does not respect --help or --yes for backwards compatibility # letsencrypt-auto does not respect --help or --yes for backwards compatibility
ASSUME_YES=1 NONINTERACTIVE=1
HELP=0 HELP=0
fi fi