diff --git a/bin/_mocha b/bin/_mocha index a4d584d978..4b8fd5e462 100755 --- a/bin/_mocha +++ b/bin/_mocha @@ -94,7 +94,7 @@ program .option('--inspect-brk', 'activate devtools in chrome and break on the first line') .option('--interfaces', 'display available interfaces') .option('--no-deprecation', 'silence deprecation warnings') - .option('--no-exit', 'require a clean shutdown of the event loop: mocha will not call process.exit') + .option('--exit', 'force shutdown of the event loop after test run: mocha will call process.exit') .option('--no-timeouts', 'disables timeouts, given implicitly with --debug') .option('--no-warnings', 'silence all node process warnings') .option('--opts ', 'specify opts path', 'test/mocha.opts')