diff --git a/bin/templates/cordova/lib/run.js b/bin/templates/cordova/lib/run.js index be7f5a29..da8fc607 100644 --- a/bin/templates/cordova/lib/run.js +++ b/bin/templates/cordova/lib/run.js @@ -126,7 +126,7 @@ var path = require('path'), } module.exports.help = function(args) { - console.log('Usage: ' + path.relative(process.cwd(), args[0]) + ' [options]'); + console.log('Usage: ' + path.relative(process.cwd(), args[1]) + ' [options]'); console.log('Build options :'); console.log(' --debug : Builds project in debug mode'); console.log(' --release : Builds project in release mode');