Skip to content

Commit

Permalink
Playground CLI: Do not show the large help message when arguments fai…
Browse files Browse the repository at this point in the history
…led to validate
  • Loading branch information
adamziel committed May 16, 2024
1 parent 6d27842 commit 9d6d933
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/playground/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async function run() {
type: 'boolean',
default: false,
})
.showHelpOnFail(false)
.check((args) => {
if (args.wp !== undefined && !isValidWordPressSlug(args.wp)) {
throw new Error(
Expand Down

0 comments on commit 9d6d933

Please sign in to comment.