Skip to content
Snippets Groups Projects
Commit a57c1f25 authored by Tom Care's avatar Tom Care Committed by GitHub
Browse files

Merge pull request #678 from samccone/sjs/switch-to-option-arg

Switch to non-positional argument.
parents be19aaa1 cb4e1bcb
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ from packagerConfig import *
__parser = argparse.ArgumentParser(description= \
'Tool used to generate the test262 website')
__parser.add_argument('version', action='store',
__parser.add_argument('--version', action='store', required=True,
help='Version of the test suite.')
__parser.add_argument('--type', action='store', default=DEFAULT_TESTCASE_TEMPLATE,
help='Type of test case runner to generate.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment