Skip to content

Commit 29538d9

Browse files
committed
Add new 5.2 options to the man page
1 parent baeb33c commit 29538d9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

doc/python-coverage.1.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,19 @@ COMMAND REFERENCE
152152
Omit files when their file name matches one of these PATTERNs.
153153
Usually needs quoting on the command line.
154154

155+
\--precision `N`
156+
Number of digits after the decimal point to display for
157+
reported coverage percentages.
158+
155159
\--show-contexts
156160
Annotate lines with the contexts that executed them.
157161

158162
\--skip-covered
159163
Skip files with 100% coverage.
160164

165+
\--no-skip-covered
166+
Disable ``--skip-covered``.
167+
161168
\--skip-empty
162169
Skip files with no code.
163170

@@ -222,12 +229,24 @@ COMMAND REFERENCE
222229
Show line numbers of statements in each module that weren't
223230
executed.
224231

232+
\--precision `N`
233+
Number of digits after the decimal point to display for
234+
reported coverage percentages.
235+
225236
\--skip-covered
226237
Skip files with 100% coverage.
227238

239+
\--no-skip-covered
240+
Disable ``--skip-covered``.
241+
228242
\--skip-empty
229243
Skip files with no code.
230244

245+
\--sort `COLUMN`
246+
Sort the report by thee named column: `name`, `stmts`, `miss`,
247+
`branch`, `brpart`, or `cover`.
248+
249+
231250
**run** [ `options` ... ] `PROGRAMFILE` [ `program_options` ]
232251

233252
Run a Python program `PROGRAMFILE`, measuring code execution.
@@ -298,6 +317,9 @@ COMMAND REFERENCE
298317
\-o `OUTFILE`
299318
Write the XML report to `OUTFILE`. Defaults to ``coverage.xml``.
300319

320+
\--skip-empty
321+
Skip files with no code.
322+
301323

302324
ENVIRONMENT VARIABLES
303325
=====================

0 commit comments

Comments
 (0)