diff --git a/src/cli.ts b/src/cli.ts index 40f33e2..2cc8928 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -60,7 +60,7 @@ if (!args.json && command !== "watch") await animateBanner(); if (args.help || !command) { console.log(colorUsage(usage)); - process.exit(command ? 0 : 1); + process.exit(args.help ? 0 : 1); } switch (command) {