cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [33/43] git commit: adding search results
Date Thu, 11 Jul 2013 21:50:33 GMT
adding search results


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

Branch: refs/heads/plugman-registry
Commit: 7772f2a786cb5ba9edf191583ad6bf7e1ed174a3
Parents: 97ea291
Author: Anis Kadri <anis@apache.org>
Authored: Wed Jun 19 14:50:33 2013 -0700
Committer: Anis Kadri <anis@apache.org>
Committed: Thu Jul 11 13:55:45 2013 -0700

----------------------------------------------------------------------
 main.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/7772f2a7/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index dc524f4..6f26d2a 100755
--- a/main.js
+++ b/main.js
@@ -120,7 +120,7 @@ else if (cli_opts.search) {
                 });
             });
 }
-else {
+else if(cli_opts.install) {
     var cli_variables = {}
     if (cli_opts.variable) {
         cli_opts.variable.forEach(function (variable) {
@@ -135,4 +135,6 @@ subdir: '.',
         www_dir: cli_opts.www
     };
     plugman.install(cli_opts.platform, cli_opts.project, cli_opts.plugin, plugins_dir, opts);
+} else {
+    console.log(plugman.help());
 }


Mime
View raw message