Improve the error message when certbot renew is used with the -d option (#10225)

Co-authored-by: Brad Warren <bmw@eff.org>
This commit is contained in:
Louis Opter 2026-02-13 15:55:35 -08:00 committed by GitHub
parent 4c61a450d4
commit ff281d48a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -641,9 +641,10 @@ def handle_renewal_request(config: configuration.NamespaceConfig) -> None:
raise errors.Error("Currently, the renew verb is capable of either "
"renewing all installed certificates that are due "
"to be renewed or renewing a single certificate specified "
"by its name. If you would like to renew specific "
"certificates by their identifiers, use the certonly command "
"instead. The renew verb may provide other options "
"by its name using the --cert-name option (-d, --domain, and "
"--ip-address are not valid options for the renew subcommand). If you "
"would like to renew specific certificates by their identifiers, use "
"the certonly command instead. The renew verb may provide other options "
"for selecting certificates to renew in the future.")
if config.certname: