From 87d7ed175070d3d4ab17dc8a50b6303d20dbdb0f Mon Sep 17 00:00:00 2001 From: Adam Woodbeck Date: Fri, 28 Nov 2014 16:47:37 -0500 Subject: [PATCH] Clarified --rollback command line option. --- README.md | 3 +-- letsencrypt/scripts/main.py | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 878652b41..4af884374 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,7 @@ optional arguments: corresponding to the private key file. The private key file argument is required if this argument is specified. - -b ROLLBACK, --rollback ROLLBACK - Revert configuration number of checkpoints. + -b N, --rollback N Revert configuration N number of checkpoints. -k, --revoke Revoke a certificate. -v, --view-checkpoints View checkpoints and associated configuration changes. diff --git a/letsencrypt/scripts/main.py b/letsencrypt/scripts/main.py index 22a5cd824..d379c5692 100755 --- a/letsencrypt/scripts/main.py +++ b/letsencrypt/scripts/main.py @@ -37,9 +37,8 @@ def main(): "private key file argument is required if this " "argument is specified.") parser.add_argument("-b", "--rollback", dest="rollback", type=int, - default=0, - help="Revert configuration number of " - "checkpoints.") + default=0, metavar="N", + help="Revert configuration N number of checkpoints.") parser.add_argument("-k", "--revoke", dest="revoke", action="store_true", help="Revoke a certificate.") parser.add_argument("-v", "--view-checkpoints", dest="view_checkpoints",