mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
default_config_files
This commit is contained in:
parent
1001b027cb
commit
048876a1df
2 changed files with 3 additions and 1 deletions
|
|
@ -216,7 +216,8 @@ def create_parser():
|
|||
parser = configargparse.ArgParser(
|
||||
description=__doc__,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
args_for_setting_config_path=["-c", "--config"])
|
||||
args_for_setting_config_path=["-c", "--config"],
|
||||
default_config_files=constants.DEFAULT_CONFIG_FILES)
|
||||
|
||||
# --help is automatically provided by argparse
|
||||
parser.add_argument(
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ SETUPTOOLS_PLUGINS_ENTRY_POINT = "letsencrypt.plugins"
|
|||
|
||||
|
||||
# CLI/IConfig defaults
|
||||
DEFAULT_CONFIG_FILES = ["/etc/letsencrypt/cli.ini"]
|
||||
DEFAULT_VERBOSE_COUNT = -(logging.WARNING / 10)
|
||||
DEFAULT_SERVER = "letsencrypt-demo.org:443"
|
||||
DEFAULT_RSA_KEY_SIZE = 2048
|
||||
|
|
|
|||
Loading…
Reference in a new issue