mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(nuxi): don't clear screen on nuxi dev --help
(#3372)
This commit is contained in:
parent
bb31df9944
commit
271289c4d6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user