diff options
author | Jannis Hell <Primajin@users.noreply.github.com> | 2020-11-16 14:16:15 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-11-17 22:38:11 +0300 |
commit | 4e522fdc917bc85af2ca8ff7669a0178e2f35123 (patch) | |
tree | 1b56ad410d913ca8d1e97b2e30c5880c8d592d9b /docs | |
parent | 7b89576bd1fa557a312a841afa66b895558d1b12 (diff) |
Update npm-audit.md
--parseable is left from v6 and is not supported in v7. It was removed from the docs further down and thus should also not be used further up in the Synopsis.
Compare: https://docs.npmjs.com/cli/v6/commands/npm-audit
PR-URL: https://github.com/npm/cli/pull/2179
Credit: @Primajin
Close: #2179
Reviewed-by: @ruyadorno
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/commands/npm-audit.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/commands/npm-audit.md b/docs/content/commands/npm-audit.md index 645ab87b1..2c0a8f580 100644 --- a/docs/content/commands/npm-audit.md +++ b/docs/content/commands/npm-audit.md @@ -7,8 +7,8 @@ description: Run a security audit ### Synopsis ```bash -npm audit [--json|--parseable|--audit-level=(low|moderate|high|critical)] -npm audit fix [--force|--package-lock-only|--dry-run] +npm audit [--json] [--production] [--audit-level=(low|moderate|high|critical)] +npm audit fix [--force|--package-lock-only|--dry-run|--production|--only=(dev|prod)] common options: [--production] [--only=(dev|prod)] ``` |