diff options
author | Lars Willighagen <lars.willighagen@gmail.com> | 2019-01-10 00:55:40 +0300 |
---|---|---|
committer | Audrey Eschright <audrey@lifeofaudrey.com> | 2019-01-10 00:55:40 +0300 |
commit | 5d076351d7ec1d3585942a9289548166a7fbbd4c (patch) | |
tree | 283f06c37710b08370496460703974ff09353aa8 /doc | |
parent | a5c9e6f35a591a6e2d4b6ace5c01bc03f2b75fdc (diff) |
doc: fix npm-prefix description (#116)
PR-URL: https://github.com/npm/cli/pull/116
Fixes: https://npm.community/t/4054
Credit: @larsgw
Reviewed-By: @aeschright
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-prefix.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/cli/npm-prefix.md b/doc/cli/npm-prefix.md index f262a36a7..d36e53813 100644 --- a/doc/cli/npm-prefix.md +++ b/doc/cli/npm-prefix.md @@ -8,7 +8,8 @@ npm-prefix(1) -- Display prefix ## DESCRIPTION Print the local prefix to standard out. This is the closest parent directory -to contain a package.json file unless `-g` is also specified. +to contain a `package.json` file or `node_modules` directory, 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. |