Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/upreckon-vcs @ 165:39f8d10dbff7
Bumped version number to 2.02.0
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 10 Jun 2011 21:36:34 +0100 |
parents | d5b6708c1955 |
children | 91fe19d9eba4 4df9537ed261 |
comparison
equal
deleted
inserted
replaced
164:b375daa74371 | 165:39f8d10dbff7 |
---|---|
5 import optparse | 5 import optparse |
6 | 6 |
7 from upreckon import compat | 7 from upreckon import compat |
8 from upreckon.compat import * | 8 from upreckon.compat import * |
9 | 9 |
10 version = '2.01.0 ($$REV$$)' | 10 version = '2.02.0 ($$REV$$)' |
11 parser = optparse.OptionParser(version='Upreckon '+version, epilog='Python 2.5 or newer is required.') | 11 parser = optparse.OptionParser(version='Upreckon '+version, epilog='Python 2.5 or newer is required.') |
12 parser.add_option('-1', dest='legacy', action='store_true', default=False, help='handle configuration files in a way more compatible with test.py 1.x') | 12 parser.add_option('-1', dest='legacy', action='store_true', default=False, help='handle configuration files in a way more compatible with test.py 1.x') |
13 parser.add_option('-p', '--problem', dest='problems', metavar='PROBLEM', action='append', help='test only the PROBLEM (this option can be specified more than once with different problem names, all of which will be tested)') | 13 parser.add_option('-p', '--problem', dest='problems', metavar='PROBLEM', action='append', help='test only the PROBLEM (this option can be specified more than once with different problem names, all of which will be tested)') |
14 parser.add_option('--list-problems', action='store_true', default=False, help='just list all problem names') | 14 parser.add_option('--list-problems', action='store_true', default=False, help='just list all problem names') |
15 parser.add_option('-m', '--copy-io', dest='copyonly', action='store_true', default=False, help='create a copy of the input/output files of the last test case for manual testing and exit') | 15 parser.add_option('-m', '--copy-io', dest='copyonly', action='store_true', default=False, help='create a copy of the input/output files of the last test case for manual testing and exit') |