mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
More useful explanation of --duplicate
This commit is contained in:
+3
-2
@@ -237,8 +237,9 @@ def run(args, config, plugins): # pylint: disable=too-many-locals,too-many-bran
|
|||||||
treat_as_renewal = True
|
treat_as_renewal = True
|
||||||
else:
|
else:
|
||||||
msg = "To obtain a new certificate that {0} an existing "
|
msg = "To obtain a new certificate that {0} an existing "
|
||||||
msg += "certificate in its domain-name coverage, consult the "
|
msg += "certificate in its domain-name coverage, you must use "
|
||||||
msg += "documentation about the --duplicate option."
|
msg += "the --duplicate option.\n\nFor example:\n\n"
|
||||||
|
msg += sys.argv[0] + " --duplicate " + " ".join(sys.argv[1:])
|
||||||
what = "duplicates" if identical_names_cert else "overlaps with"
|
what = "duplicates" if identical_names_cert else "overlaps with"
|
||||||
msg = msg.format(what)
|
msg = msg.format(what)
|
||||||
reporter_util = zope.component.getUtility(interfaces.IReporter)
|
reporter_util = zope.component.getUtility(interfaces.IReporter)
|
||||||
|
|||||||
Reference in New Issue
Block a user