From b07ae789548e07c522e19758e3b3d154df64694a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 21 May 2015 10:20:15 +0200 Subject: Make publickey a mandatory argument. --- tools/check-sth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/check-sth.py b/tools/check-sth.py index 00ce357..823ca2c 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('baseurl', help="Base URL for CT server") -parser.add_argument('--publickey', default=None, metavar='file', help='Public key for the CT log') +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('--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') -- cgit v1.1