From 16cbd139abc10d7eb6c8b73f6ddeb9705696a2e3 Mon Sep 17 00:00:00 2001 From: isaacs Date: Sat, 25 Sep 2010 22:01:07 -0700 Subject: Fix #246. Print npm version clearer --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli.js') 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") -- cgit v1.2.3