summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-prefix.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/cli/npm-prefix.md')
-rw-r--r--deps/npm/doc/cli/npm-prefix.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/npm/doc/cli/npm-prefix.md b/deps/npm/doc/cli/npm-prefix.md
index f99a401d14..f262a36a75 100644
--- a/deps/npm/doc/cli/npm-prefix.md
+++ b/deps/npm/doc/cli/npm-prefix.md
@@ -3,11 +3,15 @@ npm-prefix(1) -- Display prefix
## SYNOPSIS
- npm prefix
+ npm prefix [-g]
## DESCRIPTION
-Print the prefix to standard out.
+Print the local prefix to standard out. This is the closest parent directory
+to contain a package.json file unless `-g` is also specified.
+
+If `-g` is specified, this will be the value of the global prefix. See
+`npm-config(7)` for more detail.
## SEE ALSO