We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56eed63 commit 4a7bc41Copy full SHA for 4a7bc41
lib/command.js
@@ -1128,6 +1128,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
1128
_dispatchSubcommand(commandName, operands, unknown) {
1129
const subCommand = this._findCommand(commandName);
1130
if (!subCommand) this.help({ error: true });
1131
+ subCommand.resetParseState();
1132
1133
let hookResult;
1134
hookResult = this._chainOrCallSubCommandHook(hookResult, subCommand, 'preSubcommand');
0 commit comments