From fbd3c71eca4e660125769ff61d468963ce699440 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 26 Nov 2021 19:09:36 -0500 Subject: docs: tweak the description of --concurrency --- doc/cmd.rst | 4 ++-- doc/python-coverage.1.txt | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/cmd.rst b/doc/cmd.rst index 3b1c51cf..76ef9dbf 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -126,7 +126,7 @@ There are many options: coverage. --concurrency=LIBS Properly measure code using a concurrency library. Valid values are: eventlet, gevent, greenlet, - multiprocessing, thread. + multiprocessing, thread, or a comma-list of them. --context=LABEL The context label to record for this coverage run. --include=PAT1,PAT2,... Include only files whose paths match one of these @@ -152,7 +152,7 @@ There are many options: --rcfile=RCFILE Specify configuration file. By default '.coveragerc', 'setup.cfg', 'tox.ini', and 'pyproject.toml' are tried. [env: COVERAGE_RCFILE] -.. [[[end]]] (checksum: 072cccad7f8ad3e7b72c266305ef5e4a) +.. [[[end]]] (checksum: bf76ace21288ca9d3c558ccd5fb82b08) If you want :ref:`branch coverage ` measurement, use the ``--branch`` flag. Otherwise only statement coverage is measured. diff --git a/doc/python-coverage.1.txt b/doc/python-coverage.1.txt index b854b460..bffc7072 100644 --- a/doc/python-coverage.1.txt +++ b/doc/python-coverage.1.txt @@ -288,9 +288,10 @@ COMMAND REFERENCE \--branch Measure branch coverage in addition to statement coverage. - \--concurrency `LIB` + \--concurrency `LIBS` Properly measure code using a concurrency library. Valid values are: - thread, gevent, greenlet, eventlet, multiprocessing. + thread, gevent, greenlet, eventlet, multiprocessing, or a comma-list of + them. \--context `CONTEXT` The context label to record for this coverage run. -- cgit v1.2.1