Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/prefix.js')
-rw-r--r--lib/prefix.js2
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) }