From 3ffd7ca04122fb988d02338b6899918fb3e8238f Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sat, 14 Jan 2012 21:07:31 +0800 Subject: [PATCH] Fix issue13726: -S accepts an argument just as --start. --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index ab65ec6e365..91560db9b8e 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',