Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/upreckon-vcs @ 184:4df9537ed261
Updated version numbers
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Tue, 26 Jul 2011 19:45:24 +0300 |
parents | 39f8d10dbff7 |
children | d46bb4495766 |
comparison
equal
deleted
inserted
replaced
183:8196d2c0d6f8 | 184:4df9537ed261 |
---|---|
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.02.0 ($$REV$$)' | 10 version = '2.03.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') |