We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d038570 commit 5d53a9aCopy full SHA for 5d53a9a
lib/command.js
@@ -365,7 +365,7 @@ class Command extends EventEmitter {
365
*/
366
367
addHelpCommand(enableOrNameAndArgs, description) {
368
- if (enableOrNameAndArgs === false) {
+ if (!enableOrNameAndArgs && enableOrNameAndArgs !== undefined) {
369
this._addImplicitHelpCommand = false;
370
} else {
371
this._addImplicitHelpCommand = true;
0 commit comments