mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
CB-10421 Fixes exception when calling run script with --help option
This commit is contained in:
parent
9c4f09a50a
commit
233c2bd882
4
bin/templates/cordova/lib/run.js
vendored
4
bin/templates/cordova/lib/run.js
vendored
@ -116,8 +116,8 @@ var path = require('path'),
|
||||
});
|
||||
};
|
||||
|
||||
module.exports.help = function(args) {
|
||||
console.log('Usage: ' + path.relative(process.cwd(), args[1]) + ' [options]');
|
||||
module.exports.help = function() {
|
||||
console.log('Usage: ' + path.relative(process.cwd(), process.argv[1]) + ' [options]');
|
||||
console.log('Build options :');
|
||||
console.log(' --debug : Builds project in debug mode');
|
||||
console.log(' --release : Builds project in release mode');
|
||||
|
Loading…
Reference in New Issue
Block a user