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
path: root/cli.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-09-26 09:01:07 +0400
committerisaacs <i@izs.me>2010-09-26 09:01:07 +0400
commit16cbd139abc10d7eb6c8b73f6ddeb9705696a2e3 (patch)
tree107af624871c5870761f0427cb905a49de48762b /cli.js
parent00adb0986908a34c167debdecb12d7f7cb0437a2 (diff)
Fix #246. Print npm version clearer
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.js b/cli.js
index 6cc62d010..af15085e0 100755
--- a/cli.js
+++ b/cli.js
@@ -51,7 +51,7 @@ var vindex = arglist.indexOf("-v")
if (printVersion) {
sys.puts(npm.version)
if (vindex !== -1) arglist.splice(vindex, 1)
-} else log(npm.version, "version")
+} else log("npm@"+npm.version, "using")
// make sure that this version of node works with this version of npm.
var semver = require("./lib/utils/semver")