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

Switch to non-positional argument.
This commit is contained in:
Tom Care 2016-06-28 11:16:58 -07:00 committed by GitHub
commit a57c1f25f1
1 changed files with 1 additions and 1 deletions

View File

@ -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.')