summaryrefslogtreecommitdiff
path: root/doc/cmd.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cmd.rst')
-rw-r--r--doc/cmd.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst
index fa2f0661..ecc24ba1 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -66,7 +66,9 @@ command::
Your program runs just as if it had been invoked with the Python command line.
Arguments after your file name are passed to your program as usual in
-``sys.argv``.
+``sys.argv``. Rather than providing a filename, you can use the ``-m`` switch
+and specify an importable module name instead, just as you can with the
+Python ``-m`` switch.
If you want :ref:`branch coverage <branch>` measurement, use the ``--branch``
flag. Otherwise only statement coverage is measured.