diff --git a/index.js b/index.js index 06586abb3..b6923ba18 100644 --- a/index.js +++ b/index.js @@ -681,7 +681,7 @@ Command.prototype.parseArgs = function(args, unknown) { if (unknown.length > 0) { this.unknownOption(unknown[0]); } - if ((this.commands.length !== 1 || this.commands[0]._name !== "*") && + if ((this.commands.length !== 1 || this.commands[0]._name !== '*') && this._args.filter(function(a) { return a.required; }).length === 0) { this.emit('command:*'); }