summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-05-21 10:20:15 +0200
committerLinus Nordberg <linus@nordberg.se>2015-05-21 10:20:15 +0200
commitb07ae789548e07c522e19758e3b3d154df64694a (patch)
tree9cae9325f4854fd131a2e8cf4d837cbac461528e /tools
parent34986b651ab1ddedce19b72a7292a075ea2c4ecc (diff)
Make publickey a mandatory argument.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-sth.py4
1 files changed, 2 insertions, 2 deletions
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')