summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/check-sth.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/check-sth.py b/tools/check-sth.py
index f94e894..00ce357 100755
--- a/tools/check-sth.py
+++ b/tools/check-sth.py
@@ -23,11 +23,12 @@ DEFAULT_CUR_FILE = 'cur-sth.json'
parser = argparse.ArgumentParser(description="")
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('--cafile', default=None, metavar="file", help='File containing the CA cert')
+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')
def print_sth(sth):