diff --git a/bin/templates/cordova/lib/run.js b/bin/templates/cordova/lib/run.js index df8996d0..ced23a09 100644 --- a/bin/templates/cordova/lib/run.js +++ b/bin/templates/cordova/lib/run.js @@ -50,7 +50,7 @@ var path = require('path'), } else if (args[i] == '--list') { list = true; } else { - console.warn('Option \'' + options[i] + '\' not recognized (ignoring).'); + console.warn('Option \'' + args[i] + '\' not recognized (ignoring).'); } }