diff options
author | Éric Larivière <elarivie@users.noreply.github.com> | 2021-01-30 17:55:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 17:55:11 -0500 |
commit | a0f6692f5cc9344ae790300dcc0cf743ac9abbd3 (patch) | |
tree | 9884b4de9221850ffe5a10f919322d2ffeabdcef /doc | |
parent | 0143891b04c0c800fe1a508ab424cbe825f4210b (diff) | |
download | python-coveragepy-git-a0f6692f5cc9344ae790300dcc0cf743ac9abbd3.tar.gz |
Add combine --keep (#1110)
* Add combine --keep
Related to https://github.com/nedbat/coveragepy/issues/1108
* Fix unit tests
* Fix line too long
* Fix line too long
Diffstat (limited to 'doc')
-rw-r--r-- | doc/help/combine.rst | 1 | ||||
-rw-r--r-- | doc/python-coverage.1.txt | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/help/combine.rst b/doc/help/combine.rst index 35180cdd..c35d5b93 100644 --- a/doc/help/combine.rst +++ b/doc/help/combine.rst @@ -13,6 +13,7 @@ Options: -a, --append Append coverage data to .coverage, otherwise it starts clean each time. + --keep Keep combined coverage files, otherwise they are deleted. --debug=OPTS Debug options, separated by commas. [env: COVERAGE_DEBUG] -h, --help Get help on this command. --rcfile=RCFILE Specify configuration file. By default '.coveragerc', diff --git a/doc/python-coverage.1.txt b/doc/python-coverage.1.txt index 0bbd44d0..10a8927a 100644 --- a/doc/python-coverage.1.txt +++ b/doc/python-coverage.1.txt @@ -109,6 +109,7 @@ COMMAND REFERENCE Combine data from multiple coverage files collected with ``run -p``. The combined results are written to a single file representing the union of the data. + Unless --keep is provided the combined coverage files are deleted. If `PATH` is specified, they are files or directories containing data to be combined. @@ -119,6 +120,9 @@ COMMAND REFERENCE Append coverage data to .coverage, otherwise it starts clean each time. + \--keep + Keep combined coverage file. + **debug** `TOPIC` ... Display information about the internals of coverage.py, for diagnosing |