]> granicus.if.org Git - python/commitdiff
Fix issue13726: -S accepts an argument just as --start.
authorSenthil Kumaran <senthil@uthcode.com>
Sat, 14 Jan 2012 13:07:31 +0000 (21:07 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sat, 14 Jan 2012 13:07:31 +0000 (21:07 +0800)
Lib/test/regrtest.py

index ab65ec6e3652a50cc550694b1d352e9bda27e272..91560db9b8ebed5833872b595716303cb098b770 100755 (executable)
@@ -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',