summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-run-script.1
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man1/npm-run-script.1')
-rw-r--r--deps/npm/man/man1/npm-run-script.15
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/npm/man/man1/npm-run-script.1 b/deps/npm/man/man1/npm-run-script.1
index b81fa80b87..c350d9f192 100644
--- a/deps/npm/man/man1/npm-run-script.1
+++ b/deps/npm/man/man1/npm-run-script.1
@@ -9,14 +9,15 @@
.SH "SYNOPSIS"
.
.nf
-npm run\-script [<pkg>] <command>
+npm run\-script [<pkg>] [command]
.
.fi
.
.SH "DESCRIPTION"
This runs an arbitrary command from a package\'s \fB"scripts"\fR object\.
If no package name is provided, it will search for a \fBpackage\.json\fR
-in the current folder and use its \fB"scripts"\fR object\.
+in the current folder and use its \fB"scripts"\fR object\. If no \fB"command"\fR
+is provided, it will list the available top level scripts\.
.
.P
It is used by the test, start, restart, and stop commands, but can be