You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/05/14 02:12:09 UTC

git commit: Fix cordova help

Repository: cordova-cli
Updated Branches:
  refs/heads/master 39b0357e7 -> 5cae80ab2


Fix cordova help


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

Branch: refs/heads/master
Commit: 5cae80ab209d7e079fbda1d239a52d7775d62d4a
Parents: 39b0357
Author: Rodrigo Silveira <ro...@outlook.com>
Authored: Tue May 13 15:07:03 2014 -0700
Committer: Rodrigo Silveira <ro...@outlook.com>
Committed: Tue May 13 15:07:03 2014 -0700

----------------------------------------------------------------------
 src/cli.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/5cae80ab/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 3244a0a..b90a540 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -158,6 +158,8 @@ module.exports = function CLI(inputArgs) {
         }
         // create(dir, id, name, cfg)
         cordova.raw[cmd].call(this, args._[1], args._[2], args._[3], cfg).done();
+    } else if (cmd == 'help') {
+        return help();
     } else {
         // platform/plugins add/rm [target(s)]
         var subcommand = tokens[0]; // this has the sub-command, like "add", "ls", "rm" etc.