From 3cb02c08394d98c0fd65993c06e5c2e96d139777 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 21 Jun 2018 16:42:15 -0700 Subject: [PATCH] use default magic --- certbot-nginx/certbot_nginx/configurator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-nginx/certbot_nginx/configurator.py b/certbot-nginx/certbot_nginx/configurator.py index 5305b9234..b80d95613 100644 --- a/certbot-nginx/certbot_nginx/configurator.py +++ b/certbot-nginx/certbot_nginx/configurator.py @@ -70,8 +70,8 @@ class NginxConfigurator(common.Installer): @classmethod def add_parser_arguments(cls, add): default_server_root = _determine_default_server_root() - add("server-root", default=default_server_root, - help="Nginx server root directory.") + add("server-root", default=constants.CLI_DEFAULTS["server_root"], + help="Nginx server root directory. (default: %s)" % default_server_root) add("ctl", default=constants.CLI_DEFAULTS["ctl"], help="Path to the " "'nginx' binary, used for 'configtest' and retrieving nginx " "version number.")