Skip to content

Commit

Permalink
docs: missing options prefix -- in front of check-coverage (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
clakech authored and bcoe committed Oct 21, 2017
1 parent f31d7a6 commit a685f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -143,7 +143,7 @@ nyc can fail tests if coverage falls below a threshold.
After running your tests with nyc, simply run:

```shell
nyc check-coverage --lines 95 --functions 95 --branches 95
nyc --check-coverage --lines 95 --functions 95 --branches 95
```

nyc also accepts a `--check-coverage` shorthand, which can be used to
Expand All @@ -158,7 +158,7 @@ The above check fails if coverage falls below 100%.
To check thresholds on a per-file basis run:

```shell
nyc check-coverage --lines 95 --per-file
nyc --check-coverage --lines 95 --per-file
```

## Running reports
Expand Down

0 comments on commit a685f7c

Please sign in to comment.