You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/07/11 23:50:38 UTC

[38/43] git commit: updating cli options and adding short hands

updating cli options and adding short hands


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

Branch: refs/heads/plugman-registry
Commit: 14aa2540c62fe2e3be9d5a1755067e0101930910
Parents: 4aa51bd
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jun 17 15:57:52 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Thu Jul 11 14:11:05 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/14aa2540/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index c570114..daf5942 100755
--- a/main.js
+++ b/main.js
@@ -78,7 +78,7 @@ if (cli_opts.version) {
     console.log(package.name + ' version ' + package.version);
 } 
 else if (cli_opts.help) {
-    console.log(plugman.help());
+    plugman.help();
 }
 else if ((cli_opts.install || cli_opts.uninstall || cli_opts.argv.original.length == 0) && (!cli_opts.platform || !cli_opts.project || !cli_opts.plugin)) {
     plugman.help();