[py-svn] r10013 - py/dist/py/test

arigo at codespeak.net arigo at codespeak.net
Mon Mar 21 20:47:28 CET 2005


Author: arigo
Date: Mon Mar 21 20:47:28 2005
New Revision: 10013

Modified:
   py/dist/py/test/config.py
Log:
Fix the 'usage:' line of py.test --help.


Modified: py/dist/py/test/config.py
==============================================================================
--- py/dist/py/test/config.py	(original)
+++ py/dist/py/test/config.py	Mon Mar 21 20:47:28 2005
@@ -71,6 +71,7 @@
         # first a small fight with optparse to merge the
         # pytest.py file options correctly
         parser = optparse.OptionParser()
+        parser.set_usage("%prog [test files/dirs] [options]")
         for config in self.configpaths:
             meth = config.join('options')
             if meth.check():



More information about the pytest-commit mailing list