# HG changeset patch # User Oleg Oshmyan # Date 1390095141 0 # Node ID 756dacca888aa995b2a9bd9f4dff195dc30aaff8 # Parent d3a5d1929ad2ad8325a0f9e9eb6bf52ffd31af7d Added '[test cases]' to the usage help message diff -r d3a5d1929ad2 -r 756dacca888a upreckon/upreckon-vcs --- a/upreckon/upreckon-vcs Sun Jan 19 01:21:22 2014 +0000 +++ b/upreckon/upreckon-vcs Sun Jan 19 01:32:21 2014 +0000 @@ -1,5 +1,5 @@ #! /usr/bin/env python -# Copyright (c) 2009-2011 Chortos-2 +# Copyright (c) 2009-2014 Chortos-2 from __future__ import division, with_statement import optparse @@ -7,7 +7,7 @@ from upreckon import compat from upreckon.compat import * -parser = optparse.OptionParser(version='Upreckon 2.05.0 ($$REV$$)', epilog='Python 2.6 or newer is required.') +parser = optparse.OptionParser(version='Upreckon 2.05.0 ($$REV$$)', usage='Usage: %prog [options] [test cases]', epilog='Python 2.6 or newer is required.') 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') 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)') parser.add_option('--list-problems', action='store_true', default=False, help='just list all problem names')