From 738684d43708ce43c7c5d3ae430aeceba09357b4 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Tue, 20 Oct 2015 13:28:56 -0700 Subject: [PATCH] Revert to "run" as the default in all cases --- letsencrypt/cli.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index fb6f74937..e9c78437a 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -71,8 +71,8 @@ Choice of server for authentication/installation: --apache Use the Apache plugin for authentication & installation --nginx Use the Nginx plugin for authentication & installation - --standalone Run a standalone webserver (for authentication only, changes - the default command to "auth") + --standalone Run a standalone webserver for authentication + OR: --authenticator standalone --installer nginx @@ -639,12 +639,8 @@ class HelpfulArgumentParser(object): self.verb = token return reordered - if "--standalone" in args and "--installer" not in args and "-i" not in args: - self.verb = "auth" - return args + ["auth"] - else: - self.verb = "run" - return args + ["run"] + self.verb = "run" + return args + ["run"] def prescan_for_flag(self, flag, possible_arguments): """Checks cli input for flags.