summaryrefslogtreecommitdiff
path: root/nose/config.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2007-05-23 02:35:18 +0000
committerJason Pellerin <jpellerin@gmail.com>2007-05-23 02:35:18 +0000
commitdc6d12fe7af41113a1134944dd4b894151e8dc73 (patch)
tree43e5b5611891501a0cfd0efec0c310a411e65276 /nose/config.py
parentc7f5c04c2f2d757e90301c8b76725ec5ee45bcd6 (diff)
downloadnose-dc6d12fe7af41113a1134944dd4b894151e8dc73.tar.gz
Fixed mkindex.py script. Started revising index documentation.
Diffstat (limited to 'nose/config.py')
-rw-r--r--nose/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nose/config.py b/nose/config.py
index 8dd3697..74bc533 100644
--- a/nose/config.py
+++ b/nose/config.py
@@ -356,6 +356,11 @@ class Config(object):
self.parser = parser
return parser
+ def help(self, doc=None):
+ """Return the generated help message
+ """
+ return self.getParser(doc).format_help()
+
def loadConfig(self, file, argv):
"""Load config from file (may be filename or file-like object) and
push the config into argv.