mirror of https://github.com/tc39/test262.git
Merge pull request #678 from samccone/sjs/switch-to-option-arg
Switch to non-positional argument.
This commit is contained in:
commit
a57c1f25f1
|
@ -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.')
|
||||
|
|
Loading…
Reference in New Issue