cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: Print out only the version number for `plugman --version`
Date Mon, 10 Feb 2014 21:06:29 GMT
Updated Branches:
  refs/heads/master 92889cefd -> ebb73d1c9


Print out only the version number for `plugman --version`

Merged from https://github.com/apache/cordova-plugman/pull/43


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/ebb73d1c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/ebb73d1c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/ebb73d1c

Branch: refs/heads/master
Commit: ebb73d1c9d89ce9a4de2d8099785593ad3796e34
Parents: 92889ce
Author: Ignacio Calderon <ignacio.calderon@spilgames.com>
Authored: Tue Jan 14 15:44:02 2014 +0100
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Feb 10 16:06:05 2014 -0500

----------------------------------------------------------------------
 main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/ebb73d1c/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index 92cc477..05517b9 100755
--- a/main.js
+++ b/main.js
@@ -75,7 +75,7 @@ if (!cli_opts.silent) {
 plugman.on('error', console.error);
 
 if (cli_opts.version) {
-    console.log(package.name + ' version ' + package.version);
+    console.log(package.version);
 } else if (cli_opts.help) {
     console.log(plugman.help());
 } else if (plugman.commands[cmd]) {


Mime
View raw message