From: =?utf-8?q?Bastien_ROUCARI=C3=88S?= Date: Tue, 22 Aug 2017 14:46:56 +0200 Subject: Support a --help option forwarded: yes, https://github.com/lyroyce/mocha-tap-reporter/issues/5 bug: https://github.com/lyroyce/mocha-tap-reporter/issues/5 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/index.js +++ b/index.js @@ -91,7 +91,7 @@ if (require.main === module) { var type = process.argv[2] - if (!type) + if (!type || type == '--help' || type == '-h') return usage() process.stdin.pipe(new Formatter(type))