summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-02-06 23:02:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2011-02-06 23:02:12 -0500
commit2afc485b2724f496c67e0660c9c3683c52634515 (patch)
treedf91bb766f3836f428e533a9a6907569793e45b4 /coverage/cmdline.py
parent50bc61cd0b0a66ec6cc497ea6870765d627fb9be (diff)
downloadpython-coveragepy-git-2afc485b2724f496c67e0660c9c3683c52634515.tar.gz
Add tests and doc for Brandon's -m flag.
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r--coverage/cmdline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index b82448bf..cdcf3178 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -73,8 +73,8 @@ class Opts(object):
)
module = optparse.make_option(
'-m', '--module', action='store_true',
- help="First argument is a Python module, not a script path,"
- " which should be run as `python -m` would run it."
+ help="<pyfile> is an importable Python module, not a script path, "
+ "to be run as 'python -m' would run it."
)
rcfile = optparse.make_option(
'', '--rcfile', action='store',