diff --git a/bin/_mocha b/bin/_mocha index f8068835f6..f7a39f2cde 100755 --- a/bin/_mocha +++ b/bin/_mocha @@ -90,6 +90,7 @@ program .option('--no-timeouts', 'disables timeouts, given implicitly with --debug') .option('--opts ', 'specify opts path', 'test/mocha.opts') .option('--prof', 'log statistical profiling information') + .option('--log-timer-events', 'Time events including external callbacks') .option('--recursive', 'include sub directories') .option('--reporters', 'display available reporters') .option('--throw-deprecation', 'throw an exception anytime a deprecated function is used') diff --git a/bin/mocha b/bin/mocha index 031ef56bff..47f790e3fe 100755 --- a/bin/mocha +++ b/bin/mocha @@ -32,6 +32,7 @@ process.argv.slice(2).forEach(function(arg){ case '--es_staging': case '--no-deprecation': case '--prof': + case '--log-timer-events': case '--throw-deprecation': case '--trace-deprecation': case '--allow-natives-syntax':