Skip to content

Commit db3fdd3

Browse files
authored
Merge pull request #551 from EpicWink/bin-cli-command-required
Require command in test-app invocation args
2 parents 060caae + 4d4c636 commit db3fdd3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/jsonschema_suite

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,10 @@ def main(arguments):
195195
parser = argparse.ArgumentParser(
196196
description="JSON Schema Test Suite utilities",
197197
)
198-
subparsers = parser.add_subparsers(help="utility commands", dest="command")
198+
subparsers = parser.add_subparsers(
199+
help="utility commands", dest="command", metavar="COMMAND"
200+
)
201+
subparsers.required = True
199202

200203
check = subparsers.add_parser("check", help="Sanity check the test suite.")
201204

0 commit comments

Comments
 (0)