fix: Add missing --watch flag when running astro check --help (#6586)

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
This commit is contained in:
Chloe A 2023-03-20 23:44:58 +05:00 committed by GitHub
parent 97f876abba
commit 6898842511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
fix: Add missing --watch flag for astro check when running astro check --help

View file

@ -89,7 +89,10 @@ export async function check(
commandName: 'astro check',
usage: '[...flags]',
tables: {
Flags: [['--help (-h)', 'See all available flags.']],
Flags: [
['--watch', 'Watch Astro files for changes and re-run checks.'],
['--help (-h)', 'See all available flags.']
],
},
description: `Runs diagnostics against your project and reports errors to the console.`,
});