hide --renew-hook

This commit is contained in:
Brad Warren
2017-06-30 09:56:17 -04:00
parent 5cf82e4843
commit ed4be4117c
+1 -9
View File
@@ -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"