diff options
Diffstat (limited to 'lib/prefix.js')
-rw-r--r-- | lib/prefix.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.js b/lib/prefix.js index 61a71092d..5adcd0d92 100644 --- a/lib/prefix.js +++ b/lib/prefix.js @@ -3,4 +3,6 @@ module.exports = prefix var npm = require("../npm") , output = require("./utils/output") +prefix.usage = "npm prefix\nnpm prefix -g\n(just prints the prefix folder)" + function prefix (args, cb) { output.write(npm.prefix, cb) } |