From: Senthil Kumaran Date: Sat, 14 Jan 2012 13:07:31 +0000 (+0800) Subject: Fix issue13726: -S accepts an argument just as --start. X-Git-Tag: v3.2.3rc1~185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ffd7ca04122fb988d02338b6899918fb3e8238f;p=thirdparty%2FPython%2Fcpython.git Fix issue13726: -S accepts an argument just as --start. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index ab65ec6e3652..91560db9b8eb 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',