summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-run-script.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/cli/npm-run-script.md')
-rw-r--r--deps/npm/doc/cli/npm-run-script.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/npm/doc/cli/npm-run-script.md b/deps/npm/doc/cli/npm-run-script.md
index f1389c21c6..b79d58fb01 100644
--- a/deps/npm/doc/cli/npm-run-script.md
+++ b/deps/npm/doc/cli/npm-run-script.md
@@ -3,7 +3,7 @@ npm-run-script(1) -- Run arbitrary package scripts
## SYNOPSIS
- npm run-script <command> [-- <args>...]
+ npm run-script <command> [--silent] [-- <args>...]
alias: npm run
@@ -50,6 +50,8 @@ not found in the `PATH`.
If you try to run a script without having a `node_modules` directory and it fails,
you will be given a warning to run `npm install`, just in case you've forgotten.
+You can use the `--silent` flag to prevent showing `npm ERR!` output on error.
+
## SEE ALSO
* npm-scripts(7)