summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-01-14 13:07:31 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-01-14 13:07:31 (GMT)
commit3ffd7ca04122fb988d02338b6899918fb3e8238f (patch)
treefe5642e1f627b4deae313b699fcc4b103de433b2
parentc5c5a14577f1188125630dcbf31c5c2cd258b541 (diff)
downloadcpython-3ffd7ca04122fb988d02338b6899918fb3e8238f.zip
cpython-3ffd7ca04122fb988d02338b6899918fb3e8238f.tar.gz
cpython-3ffd7ca04122fb988d02338b6899918fb3e8238f.tar.bz2
Fix issue13726: -S accepts an argument just as --start.
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index ab65ec6..91560db 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -272,7 +272,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
support.record_original_stdout(sys.stdout)
try:
- opts, args = getopt.getopt(sys.argv[1:], 'hvqxsoSrf:lu:t:TD:NLR:FwWM:nj:Gm:',
+ opts, args = getopt.getopt(sys.argv[1:], 'hvqxsoS:rf:lu:t:TD:NLR:FwWM:nj:Gm:',
['help', 'verbose', 'verbose2', 'verbose3', 'quiet',
'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks',
'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir',