changeset 252:756dacca888a

Added '[test cases]' to the usage help message
author Oleg Oshmyan <chortos@inbox.lv>
date Sun, 19 Jan 2014 01:32:21 +0000
parents d3a5d1929ad2
children d06e57b182a9
files upreckon/upreckon-vcs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 <chortos@inbox.lv>
+# Copyright (c) 2009-2014 Chortos-2 <chortos@inbox.lv>
 
 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')