summaryrefslogtreecommitdiff
path: root/tools/check-sth.py
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-05-29 17:44:22 +0200
committerLinus Nordberg <linus@nordu.net>2015-05-29 17:44:22 +0200
commitc14d572f160f05e3d532714ad3b62c0b20b03aa1 (patch)
treef878ee42e0ccf81323d55cceeeb6823b6cddad58 /tools/check-sth.py
parentd9df4af0fcc91e1988a411892bba0b792ce62427 (diff)
parent42eebf1c68849b1367a8e87757f8019732058c50 (diff)
Merge remote-tracking branch 'refs/remotes/map/fsynclogorder'
Diffstat (limited to 'tools/check-sth.py')
-rwxr-xr-xtools/check-sth.py2
1 files changed, 1 insertions, 1 deletions
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")