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
commitef9729d54c9c8b0a0e81affabfaa5ce396931b67 (patch)
treeabf10fd31f3e06f16251ea68a1ec2bae3795e17a /coverage/cmdline.py
parent8b36ef4ddc2d5e44ff37b7e2c86f9a406860fe15 (diff)
downloadpython-coveragepy-ef9729d54c9c8b0a0e81affabfaa5ce396931b67.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 b82448b..cdcf317 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',