diff --git a/src/CAC.ts b/src/CAC.ts index a56e5cb..53143f3 100644 --- a/src/CAC.ts +++ b/src/CAC.ts @@ -208,10 +208,12 @@ class CAC extends EventEmitter { if (this.options.help && this.showHelpOnExit) { this.outputHelp() + run = false } if (this.options.version && this.showVersionOnExit) { this.outputVersion() + run = false } const parsedArgv = { args: this.args, options: this.options }