Skip to content

Commit

Permalink
fix(4314): remove help info print when throw error (#4322)
Browse files Browse the repository at this point in the history
  • Loading branch information
OceanPresentChao authored Oct 15, 2023
1 parent de54be5 commit 3cea4a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rspack-cli/src/rspack-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class RspackCLI {
);
}

this.program.showHelpOnFail(false);
this.program.usage("[options]");
this.program.scriptName("rspack");
this.program.strictCommands(true).strict(true);
Expand Down

0 comments on commit 3cea4a1

Please sign in to comment.