Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Swartz <swartzcr@gmail.com>2017-08-10 19:51:19 +0300
committerGitHub <noreply@github.com>2017-08-10 19:51:19 +0300
commitaf322a60680f47057bc49fd26fc69079b480733f (patch)
tree5dd7f3022dadf18fd1181d931997d6f31e12329d
parent48c890be61b26b4bf0b3767df994e036a14dda66 (diff)
parentc314ec047436220529b083b316cabe167a4b3aab (diff)
Merge pull request #4896 from certbot/order-matters2
Explain --domains and --cert-name usage
-rw-r--r--certbot/cli.py15
1 files changed, 11 insertions, 4 deletions
diff --git a/certbot/cli.py b/certbot/cli.py
index e8b825a91..bb29a43ec 100644
--- a/certbot/cli.py
+++ b/certbot/cli.py
@@ -873,14 +873,21 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
metavar="DOMAIN", action=_DomainsAction, default=[],
help="Domain names to apply. For multiple domains you can use "
"multiple -d flags or enter a comma separated list of domains "
- "as a parameter. (default: Ask)")
+ "as a parameter. The first provided domain will be used in "
+ "some software user interfaces and file paths for the "
+ "certificate and related material unless otherwise "
+ "specified or you already have a certificate for the same "
+ "domains. (default: Ask)")
helpful.add(
[None, "run", "certonly", "manage", "delete", "certificates"],
"--cert-name", dest="certname",
metavar="CERTNAME", default=None,
- help="Certificate name to apply. Only one certificate name can be used "
- "per Certbot run. To see certificate names, run 'certbot certificates'. "
- "When creating a new certificate, specifies the new certificate's name.")
+ help="Certificate name to apply. This name is used by Certbot for housekeeping "
+ "and in file paths; it doesn't affect the content of the certificate itself. "
+ "To see certificate names, run 'certbot certificates'. "
+ "When creating a new certificate, specifies the new certificate's name. "
+ "(default: the first provided domain or the name of an existing "
+ "certificate on your system for the same domains)")
helpful.add(
[None, "testing", "renew", "certonly"],
"--dry-run", action="store_true", dest="dry_run",