From a2a774125fac9f7499c8e4e4c5e305cb3cd15515 Mon Sep 17 00:00:00 2001 From: Nicolas Stalder Date: Fri, 22 Mar 2019 21:40:55 +0100 Subject: [PATCH] Fix usage and display fido2-ext in it --- tools/ctap_test.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tools/ctap_test.py b/tools/ctap_test.py index 984879a..8697de9 100755 --- a/tools/ctap_test.py +++ b/tools/ctap_test.py @@ -2004,8 +2004,19 @@ def test_find_brute_force(): if __name__ == "__main__": + tests = ( + "solo", + "u2f", + "fido2", + "fido2-ext", + "rk", + "hid", + "ping", + "bootloader", + ) + if len(sys.argv) < 2: - print("Usage: %s [sim] <[u2f]|[fido2]|[rk]|[hid]|[ping]>") + print(f"Usage: {sys.argv[0]} [sim] <{'|'.join(sorted(tests))}>") sys.exit(0) t = Tester()