From ed4be4117cbb9146d9754bc38e8d8eb54a1a0980 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 30 Jun 2017 09:29:39 -0400 Subject: [PATCH] hide --renew-hook --- certbot/cli.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/certbot/cli.py b/certbot/cli.py index 5aa267414..8e0085390 100644 --- a/certbot/cli.py +++ b/certbot/cli.py @@ -1085,15 +1085,7 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis " run if an attempt was made to obtain/renew a certificate. If" " multiple renewed certificates have identical post-hooks, only" " one will be run.") - helpful.add( - "renew", "--renew-hook", - help="Command to be run in a shell once for each successfully renewed" - " certificate. For this command, the shell variable $RENEWED_LINEAGE" - " will point to the config live subdirectory (for example," - " \"/etc/letsencrypt/live/example.com\") containing the new certificates" - " and keys; the shell variable $RENEWED_DOMAINS will contain a" - " space-delimited list of renewed certificate domains (for example," - " \"example.com www.example.com\"") + helpful.add("renew", "--renew-hook", help=argparse.SUPPRESS) helpful.add( "renew", "--deploy-hook", action=_DeployHookAction, help="Command to be run in a shell once for each successfully"