You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/02/10 22:06:29 UTC
git commit: Print out only the version number for `plugman --version`
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 <ig...@spilgames.com>
Authored: Tue Jan 14 15:44:02 2014 +0100
Committer: Andrew Grieve <ag...@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]) {