diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2020-05-12 06:58:04 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-05-12 06:58:04 -0400 |
| commit | 916a0c9278d83ad0fafc75fcdc80e03db8c3f257 (patch) | |
| tree | de12e34098d991a9e8a347fcb405253ee7193cc2 /doc | |
| parent | d7120bab764f0cb817b8846aa33504da66d382a2 (diff) | |
| parent | dc48c725fe4a95b64939f67cbb97d259ba47fe9f (diff) | |
| download | python-coveragepy-git-916a0c9278d83ad0fafc75fcdc80e03db8c3f257.tar.gz | |
Merge branch 'pr/982'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/cmd.rst | 6 |
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` |
