Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixed mocha(1) --help bin name

TJ Holowaychuk946220104ab3
diff --git a/bin/_mocha b/bin/_mocha
index 445c159b..2f34a652 100755
--- a/bin/_mocha
+++ b/bin/_mocha
@@ -53,6 +53,8 @@ program
.option('--interfaces', 'display available interfaces')
.option('--reporters', 'display available reporters')
+program.name = 'mocha';
+
// --reporters
program.on('reporters', function(){