Correct --cert-name and --domains usage.

* Revert "Mention that the domain is used to choose filename"

This reverts commit 1c06144e18.

* Correct --cert-name and --domains usage.

* Clarify which paths --domains affects
This commit is contained in:
Brad Warren
2017-07-20 17:26:05 -07:00
parent 595745e044
commit c314ec0474
2 changed files with 8 additions and 8 deletions
+7 -5
View File
@@ -867,9 +867,11 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
metavar="DOMAIN", action=_DomainsAction, default=[], metavar="DOMAIN", action=_DomainsAction, default=[],
help="Domain names to apply. For multiple domains you can use " help="Domain names to apply. For multiple domains you can use "
"multiple -d flags or enter a comma separated list of domains " "multiple -d flags or enter a comma separated list of domains "
"as a parameter. (default: Ask) Note: the first provided domain " "as a parameter. The first provided domain will be used in "
"will be most prominent in filenames and some software user " "some software user interfaces and file paths for the "
"interfaces") "certificate and related material unless otherwise "
"specified or you already have a certificate for the same "
"domains. (default: Ask)")
helpful.add( helpful.add(
[None, "run", "certonly", "manage", "delete", "certificates"], [None, "run", "certonly", "manage", "delete", "certificates"],
"--cert-name", dest="certname", "--cert-name", dest="certname",
@@ -878,8 +880,8 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
"and in file paths; it doesn't affect the content of the certificate itself. " "and in file paths; it doesn't affect the content of the certificate itself. "
"To see certificate names, run 'certbot certificates'. " "To see certificate names, run 'certbot certificates'. "
"When creating a new certificate, specifies the new certificate's name. " "When creating a new certificate, specifies the new certificate's name. "
" (default: use the first of the domain names provided with -d or entered " "(default: the first provided domain or the name of an existing "
"interactively)") "certificate on your system for the same domains)")
helpful.add( helpful.add(
[None, "testing", "renew", "certonly"], [None, "testing", "renew", "certonly"],
"--dry-run", action="store_true", dest="dry_run", "--dry-run", action="store_true", dest="dry_run",
+1 -3
View File
@@ -50,9 +50,7 @@ optional arguments:
-d DOMAIN, --domains DOMAIN, --domain DOMAIN -d DOMAIN, --domains DOMAIN, --domain DOMAIN
Domain names to apply. For multiple domains you can Domain names to apply. For multiple domains you can
use multiple -d flags or enter a comma separated list use multiple -d flags or enter a comma separated list
of domains as a parameter. The first domain in the list of domains as a parameter. (default: Ask)
will be used to decide where to store the new certificate,
unless otherwise specified. (default: [])
--cert-name CERTNAME Certificate name to apply. Only one certificate name --cert-name CERTNAME Certificate name to apply. Only one certificate name
can be used per Certbot run. To see certificate names, can be used per Certbot run. To see certificate names,
run 'certbot certificates'. When creating a new run 'certbot certificates'. When creating a new