From 685fa7768481585d6637efda38981c0832bbb425 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 28 Jan 2016 15:02:52 -0800 Subject: [PATCH] Add --dry-run flag --- letsencrypt/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index 61bc85e72..bd77e23e0 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -1207,6 +1207,10 @@ def _paths_parser(helpful): add("testing", "--test-cert", "--staging", action='store_true', dest='staging', help='Use the staging server to obtain test (invalid) certs; equivalent' ' to --server ' + constants.STAGING_URI) + add("testing", "--dry-run", action="store_true", dest="dry_run", + help="Perform a test run of the client, obtaining test (invalid) certs" + " but not saving them to disk. This can currently only be used" + " with the 'certonly' subcommand.") def _plugins_parsing(helpful, plugins):