From 271289c4d6f75b50df3fa1b2255ab518f45bd93d Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 24 Feb 2022 17:18:13 +0000 Subject: [PATCH] fix(nuxi): don't clear screen on `nuxi dev --help` (#3372) --- packages/nuxi/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxi/src/index.ts b/packages/nuxi/src/index.ts index a2a3ecad2d..5b4859e4f6 100755 --- a/packages/nuxi/src/index.ts +++ b/packages/nuxi/src/index.ts @@ -16,7 +16,7 @@ async function _main () { // @ts-ignore const command = args._.shift() || 'usage' - showBanner(command === 'dev' && args.clear !== false) + showBanner(command === 'dev' && args.clear !== false && !args.help) if (!(command in commands)) { console.log('\n' + red('Invalid command ' + command))