summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-07-05 15:38:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-07-05 15:51:07 -0400
commit29538d90279d4d8d0aec89be5d1791363a3edf90 (patch)
treea3c2c59db76ee98c7fcb6c977754af28a1142b03
parentbaeb33cae868e495212162fcfe88879a9fccd6bc (diff)
downloadpython-coveragepy-git-29538d90279d4d8d0aec89be5d1791363a3edf90.tar.gz
Add new 5.2 options to the man page
-rw-r--r--doc/python-coverage.1.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/python-coverage.1.txt b/doc/python-coverage.1.txt
index 27ab1924..99ca352c 100644
--- a/doc/python-coverage.1.txt
+++ b/doc/python-coverage.1.txt
@@ -152,12 +152,19 @@ COMMAND REFERENCE
Omit files when their file name matches one of these PATTERNs.
Usually needs quoting on the command line.
+ \--precision `N`
+ Number of digits after the decimal point to display for
+ reported coverage percentages.
+
\--show-contexts
Annotate lines with the contexts that executed them.
\--skip-covered
Skip files with 100% coverage.
+ \--no-skip-covered
+ Disable ``--skip-covered``.
+
\--skip-empty
Skip files with no code.
@@ -222,12 +229,24 @@ COMMAND REFERENCE
Show line numbers of statements in each module that weren't
executed.
+ \--precision `N`
+ Number of digits after the decimal point to display for
+ reported coverage percentages.
+
\--skip-covered
Skip files with 100% coverage.
+ \--no-skip-covered
+ Disable ``--skip-covered``.
+
\--skip-empty
Skip files with no code.
+ \--sort `COLUMN`
+ Sort the report by thee named column: `name`, `stmts`, `miss`,
+ `branch`, `brpart`, or `cover`.
+
+
**run** [ `options` ... ] `PROGRAMFILE` [ `program_options` ]
Run a Python program `PROGRAMFILE`, measuring code execution.
@@ -298,6 +317,9 @@ COMMAND REFERENCE
\-o `OUTFILE`
Write the XML report to `OUTFILE`. Defaults to ``coverage.xml``.
+ \--skip-empty
+ Skip files with no code.
+
ENVIRONMENT VARIABLES
=====================