Skip to content

Commit ed61024

Browse files
committed
docs: update -p command-line instructions relating to glob matching
1 parent a45ff60 commit ed61024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lockfile-lint/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ lockfile-lint --path yarn.lock --allowed-hosts yarn --allowed-urls https://githu
7878

7979
| command line argument | description | implemented |
8080
|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|
81-
| `--path`, `-p` | path to the lockfile but you can also provide a glob matching pattern, for example: `/path/to/dir/**/package-lock.json` to match multiple lockfiles ||
81+
| `--path`, `-p` | path to the lockfile but you can also provide a glob matching pattern as long as it isn't expanded by a shell like bash or zsh. If that's the case, you can provide it as a string, for example: `-p '/Users/lirantal/repos/**/package-lock.json'` to match multiple lockfiles ||
8282
| `--type`, `-t` | lockfile type, options are `npm` or `yarn` ||
8383
| `--format`, `-f` | sets what type of report output is desired, one of [ `pretty`, `plain` ] with `plain` removing colors & status symbols from output ||
8484
| `--validate-https`, `-s` | validates the use of HTTPS as protocol schema for all resources in the lockfile ||

0 commit comments

Comments
 (0)