summaryrefslogtreecommitdiff
path: root/nose/config.py
diff options
context:
space:
mode:
authorjpellerin <devnull@localhost>2009-04-27 15:34:04 -0400
committerjpellerin <devnull@localhost>2009-04-27 15:34:04 -0400
commitee4188501a9194de1c1c558c3523819ee52d6f9d (patch)
tree2c36612772facceb896b0bee5ce0487962e74e3b /nose/config.py
parent159594a8d3fb5346c6897b8332823e773cab81a4 (diff)
downloadnose-ee4188501a9194de1c1c558c3523819ee52d6f9d.tar.gz
Work in progress on automated man page generation
Diffstat (limited to 'nose/config.py')
-rw-r--r--nose/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nose/config.py b/nose/config.py
index 5259a10..2839f8a 100644
--- a/nose/config.py
+++ b/nose/config.py
@@ -411,11 +411,13 @@ class Config(object):
help="Be less verbose")
parser.add_option(
"-c", "--config", action="append", dest="files",
+ metavar="FILES",
help="Load configuration from config file(s). May be specified "
"multiple times; in that case, all config files will be "
"loaded and combined")
parser.add_option(
"-w", "--where", action="append", dest="where",
+ metavar="WHERE",
help="Look for tests in this directory. "
"May be specified multiple times. The first directory passed "
"will be used as the working directory, in place of the current "
@@ -424,7 +426,7 @@ class Config(object):
)
parser.add_option(
"-m", "--match", "--testmatch", action="store",
- dest="testMatch",
+ dest="testMatch", metavar="REGEX",
help="Files, directories, function names, and class names "
"that match this regular expression are considered tests. "
"Default: %s [NOSE_TESTMATCH]" % self.testMatchPat,