mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 08:03:44 +02:00
more doc improvements
This commit is contained in:
@@ -83,7 +83,7 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
description = "Apache Web Server - Alpha"
|
description = "Apache Web Server plugin - Beta"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def add_parser_arguments(cls, add):
|
def add_parser_arguments(cls, add):
|
||||||
|
|||||||
+4
-5
@@ -766,7 +766,10 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
|
|||||||
"-q", "--quiet", dest="quiet", action="store_true",
|
"-q", "--quiet", dest="quiet", action="store_true",
|
||||||
help="Silence all output except errors. Useful for automation via cron."
|
help="Silence all output except errors. Useful for automation via cron."
|
||||||
" Implies --non-interactive.")
|
" Implies --non-interactive.")
|
||||||
|
# overwrites server, handled in HelpfulArgumentParser.parse_args()
|
||||||
|
helpful.add("testing", "--test-cert", "--staging", action='store_true', dest='staging',
|
||||||
|
help='Use the staging server to obtain test (invalid) certs; equivalent'
|
||||||
|
' to --server ' + constants.STAGING_URI)
|
||||||
helpful.add(
|
helpful.add(
|
||||||
"testing", "--debug", action="store_true",
|
"testing", "--debug", action="store_true",
|
||||||
help="Show tracebacks in case of errors, and allow certbot-auto "
|
help="Show tracebacks in case of errors, and allow certbot-auto "
|
||||||
@@ -947,10 +950,6 @@ def _paths_parser(helpful):
|
|||||||
help="Logs directory.")
|
help="Logs directory.")
|
||||||
add("paths", "--server", default=flag_default("server"),
|
add("paths", "--server", default=flag_default("server"),
|
||||||
help=config_help("server"))
|
help=config_help("server"))
|
||||||
# overwrites server, handled in HelpfulArgumentParser.parse_args()
|
|
||||||
add("testing", "--test-cert", "--staging", action='store_true', dest='staging',
|
|
||||||
help='Use the staging server to obtain test (invalid) certs; equivalent'
|
|
||||||
' to --server ' + constants.STAGING_URI)
|
|
||||||
|
|
||||||
|
|
||||||
def _plugins_parsing(helpful, plugins):
|
def _plugins_parsing(helpful, plugins):
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ class IConfig(zope.interface.Interface):
|
|||||||
"Location of renewal configuration file.")
|
"Location of renewal configuration file.")
|
||||||
|
|
||||||
no_verify_ssl = zope.interface.Attribute(
|
no_verify_ssl = zope.interface.Attribute(
|
||||||
"Disable SSL certificate verification.")
|
"Disable verification of the ACME server's certificate.")
|
||||||
tls_sni_01_port = zope.interface.Attribute(
|
tls_sni_01_port = zope.interface.Attribute(
|
||||||
"Port number to perform tls-sni-01 challenge. "
|
"Port number to perform tls-sni-01 challenge. "
|
||||||
"Boulder in testing mode defaults to 5001.")
|
"Boulder in testing mode defaults to 5001.")
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ class Authenticator(common.Plugin):
|
|||||||
rely on any existing server program.
|
rely on any existing server program.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
description = "Automatically use a temporary webserver"
|
description = "Spin up a temporary webserver"
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(Authenticator, self).__init__(*args, **kwargs)
|
super(Authenticator, self).__init__(*args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user