regrtest: accept options after test names

This commit is contained in:
Victor Stinner 2016-09-10 04:27:28 -04:00
parent 8ddcf3abf7
commit c7a070e998
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ def _create_parser():
group.add_argument('-P', '--pgo', dest='pgo', action='store_true',
help='enable Profile Guided Optimization training')
parser.add_argument('args', nargs=argparse.REMAINDER,
parser.add_argument('args', nargs='*',
help=argparse.SUPPRESS)
return parser