Mercurial > ~astiob > upreckon > hgweb
comparison upreckon-vcs @ 114:c4dba6d44194 2.00 2.00.1
Fixed the version number reported in --version
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 08 Apr 2011 20:05:33 +0300 |
parents | c62c9bfd614a |
children | e17ae4ccbc58 |
comparison
equal
deleted
inserted
replaced
113:3295bac0a7e6 | 114:c4dba6d44194 |
---|---|
4 from __future__ import division, with_statement | 4 from __future__ import division, with_statement |
5 import optparse, sys, compat | 5 import optparse, sys, compat |
6 | 6 |
7 from compat import * | 7 from compat import * |
8 | 8 |
9 version = '2.00.0 ($$REV$$)' | 9 version = '2.00.1 ($$REV$$)' |
10 parser = optparse.OptionParser(version='Upreckon '+version, epilog='Python 2.5 or newer is required.') | 10 parser = optparse.OptionParser(version='Upreckon '+version, epilog='Python 2.5 or newer is required.') |
11 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') | 11 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('-u', '--update', dest='update', action='store_true', default=False, help='update the installed Upreckon to the latest publicly available version') | 12 parser.add_option('-u', '--update', dest='update', action='store_true', default=False, help='update the installed Upreckon to the latest publicly available version') |
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('-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') | 14 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') |