Permalink
Browse files

Show npm version and location in standard -h banner

  • Loading branch information...
isaacs committed Nov 30, 2011
1 parent cf45d7f commit 3fb60592c8789fb448ad65eeebf6916433225f16
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/help.js
View
@@ -100,6 +100,8 @@ function help (args, cb) {
, " " + npm.config.get("userconfig")
, "or on the command line via: npm <command> --key value"
, "Config info can be viewed via: npm help config"
+ , ""
+ , "npm@" + npm.version + " " + path.dirname(__dirname)
].join("\n"), function () { cb(er) })
})
}

0 comments on commit 3fb6059

Please sign in to comment.