cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject cordova-cli git commit: Revert "CB-8168 --list support for CLI"
Date Tue, 06 Jan 2015 02:43:53 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 94f32e1b2 -> c9a08edaf


Revert "CB-8168 --list support for CLI"

This reverts commit eceb2b62435dc5cf678dac6e17bffc2d9cdb954b.

It isn't actually ignored on blackberry and there's some discussion as
to the correct syntax for the flag.


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

Branch: refs/heads/master
Commit: c9a08edafdeb6743cc9019505eba26d9b8a07f7d
Parents: 94f32e1
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Jan 5 21:34:11 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Jan 5 21:43:36 2015 -0500

----------------------------------------------------------------------
 doc/run.txt | 1 -
 src/cli.js  | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/c9a08eda/doc/run.txt
----------------------------------------------------------------------
diff --git a/doc/run.txt b/doc/run.txt
index 185f6fb..8f48db0 100644
--- a/doc/run.txt
+++ b/doc/run.txt
@@ -31,4 +31,3 @@ Experimental Flags
 
     --browserify ....................... Plugins javascript gets loaded at build time instead
of runtime using browserify.
                                          Replaces cordovajs file with one that includes the
JS of the installed plugins.
-    --list ............................. Prints out available targets for Cordova. Will display
both device and emulator unless TARGET option is provided. 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/c9a08eda/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 3ec1159..b962e27 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -81,7 +81,6 @@ function cli(inputArgs) {
         , 'target' : String
         , 'browserify': Boolean
         , 'nobuild': Boolean
-        , 'list': Boolean
         };
 
     var shortHands =
@@ -207,7 +206,7 @@ function cli(inputArgs) {
         // calling into platform code should be dealing with this based
         // on the parsed args object.
         var downstreamArgs = [];
-        var argNames = [ 'debug', 'release', 'device', 'emulator', 'nobuild', 'list'];
+        var argNames = [ 'debug', 'release', 'device', 'emulator', 'nobuild'];
         argNames.forEach(function(flag) {
             if (args[flag]) {
                 downstreamArgs.push('--' + flag);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message