diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-26 08:58:10 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-26 08:58:10 -0400 |
commit | f26aa317f4fc4900d9870a47d7181a8bc46f93cf (patch) | |
tree | 0eee878728162bd21bc3442296486024a04c7d6d /doc/cmd.rst | |
parent | 7fc1441abc5dbdc4ef97937625d4930f65b0a435 (diff) | |
download | python-coveragepy-f26aa317f4fc4900d9870a47d7181a8bc46f93cf.tar.gz |
Finally looks like I'll be able to write .px files directly.
Diffstat (limited to 'doc/cmd.rst')
-rw-r--r-- | doc/cmd.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst index 5b4b7a3..bb01fd5 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -97,7 +97,7 @@ The -m flag also shows the line numbers of missing statements:: ------------------------------------------------------- TOTAL 91 79 87% -You can restrict the report to files you are interested in by naming them on the +You can restrict the report to only certain files by naming them on the command line:: $ coverage -r -m my_program.py my_other_module.py @@ -108,8 +108,8 @@ command line:: ------------------------------------------------------- TOTAL 76 66 87% -You can use the -o flag to omit files that begin with specified prefixes. -For example, this will skip reporting on any modules in the django directory:: +The -o flag omits files that begin with specified prefixes. For example, this +will omit any modules in the django directory:: $ coverage -r -m -o django @@ -118,7 +118,7 @@ For example, this will skip reporting on any modules in the django directory:: HTML Annotation --------------- -Coverage can show you your source code, annotated for which lines were executed, +Coverage can annotate your source code for which lines were executed and which were not. The -b flag creates an HTML report similar to the -r summary, but as an HTML file. Each module name links to the source file decorated to show the status of each line. |