Skip to content

Commit

Permalink
Merge 993853e into b4ebabd
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Mar 17, 2017
2 parents b4ebabd + 993853e commit 598378c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ module.exports = getOptions;
*/

function getOptions () {
if (process.argv.length === 3 && (process.argv[2] === '-h' || process.argv[2] === '--help')) {
return;
}

var optsPath = process.argv.indexOf('--opts') === -1
? 'test/mocha.opts'
: process.argv[process.argv.indexOf('--opts') + 1];
Expand Down

0 comments on commit 598378c

Please sign in to comment.