diff options
Diffstat (limited to 'lib/root.js')
-rw-r--r-- | lib/root.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/root.js b/lib/root.js index a83c3e31f..4be0eb394 100644 --- a/lib/root.js +++ b/lib/root.js @@ -4,6 +4,8 @@ var npm = require("../npm") , output = require("./utils/output") , log = require("./utils/log") +root.usage = "npm root\nnpm root -g\n(just prints the root folder)" + function root (args, cb) { output.write(npm.dir, cb) var rp = require.paths.concat(module.paths) |