From 49d4630eec3e3a79367120e5606f1d665f297c7c Mon Sep 17 00:00:00 2001 From: Notas Hellout <5165674+make-github-pseudonymous-again@users.noreply.github.com> Date: Thu, 13 Jan 2022 18:32:50 +0100 Subject: [PATCH] docs: Correctly display `--extension` row in cli options table (#347) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58748b83..f0b30571 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Here is a list of common options. Run `c8 --help` for the full list and document | `--src` | see [section below](#checking-for-full-source-coverage-using---all) for more info | `Array` | `[process.cwd()]`| | `-n`, `--include` | see [section below](#checking-for-full-source-coverage-using---all) for more info | `Array` | `[]` (include all files) | | `-x`, `--exclude` | see [section below](#checking-for-full-source-coverage-using---all) for more info | `Array` | [list](https://github.com/istanbuljs/schema/blob/master/default-exclude.js) | -| `-e`, `--extension` | only files matching these extensions will show coverage | `string | Array` | [list](https://github.com/istanbuljs/schema/blob/master/default-extension.js) | +| `-e`, `--extension` | only files matching these extensions will show coverage | `string \| Array` | [list](https://github.com/istanbuljs/schema/blob/master/default-extension.js) | | `--skip-full` | do not show files with 100% statement, branch, and function coverage | `boolean` | `false` | | `--check-coverage` | check whether coverage is within thresholds provided | `boolean` | `false` | | `--temp-directory` | directory V8 coverage data is written to and read from | `string` | `process.env.NODE_V8_COVERAGE` |