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.
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 @@
--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
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 @@
, 'target' : String
, 'browserify': Boolean
, 'nobuild': Boolean
- , 'list': Boolean
};
var shortHands =
@@ -207,7 +206,7 @@
// 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);