From b3cf7d7737f1fb32bff222e184ae62a3b44f736f Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Fri, 22 May 2015 16:23:13 +0200 Subject: Don't require --publickey, but print better error message. --- tools/check-sth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/check-sth.py') diff --git a/tools/check-sth.py b/tools/check-sth.py index 0cdc031..dacd8e6 100755 --- a/tools/check-sth.py +++ b/tools/check-sth.py @@ -26,8 +26,8 @@ parser.add_argument('--cur-sth', metavar='file', default=DEFAULT_CUR_FILE, help="File containing current STH (default=%s)" % DEFAULT_CUR_FILE) -parser.add_argument('publickey', help='File containing the public key for the CT log') parser.add_argument('baseurl', help="Base URL for CT log") +parser.add_argument('--publickey', default=None, metavar='file', help='Public key for the CT log') parser.add_argument('--cafile', default=None, metavar='file', help='File containing the CA cert') parser.add_argument('--allow-lag', action='store_true', help='Allow node to lag behind previous STH') parser.add_argument('--quiet-ok', action='store_true', help="Don't print status if OK") -- cgit v1.1