summaryrefslogtreecommitdiff
path: root/doc/cmd.rst
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-05-12 06:56:21 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-05-12 06:56:21 -0400
commitdc48c725fe4a95b64939f67cbb97d259ba47fe9f (patch)
treebaaa7080d8fac753543eab3e2b92c001809def70 /doc/cmd.rst
parentbbd0c0fe16e0fa02b9023b3703fd0c91ca2cf855 (diff)
downloadpython-coveragepy-git-dc48c725fe4a95b64939f67cbb97d259ba47fe9f.tar.gz
Finish up --precision
Diffstat (limited to 'doc/cmd.rst')
-rw-r--r--doc/cmd.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/cmd.rst b/doc/cmd.rst
index cbbb26bb..31ae6e01 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -371,6 +371,9 @@ If you have :ref:`recorded contexts <contexts>`, the ``--contexts`` option lets
you choose which contexts to report on. See :ref:`context_reporting` for
details.
+The ``--precision`` option controls the number of digits displayed after the
+decimal point in coverage percentages, defaulting to none.
+
Other common reporting options are described above in :ref:`cmd_reporting`.
@@ -418,6 +421,9 @@ The ``--skip-covered`` switch will skip any file with 100% coverage, letting
you focus on the files that still need attention. The ``--skip-empty`` switch
will skip any file with no executable statements.
+The ``--precision`` option controls the number of digits displayed after the
+decimal point in coverage percentages, defaulting to none.
+
If you have :ref:`recorded contexts <contexts>`, the ``--contexts`` option lets
you choose which contexts to report on, and the ``--show-contexts`` option will
annotate lines with the contexts that ran them. See :ref:`context_reporting`