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:
parent
97f876abba
commit
6898842511
2 changed files with 9 additions and 1 deletions
5
.changeset/tender-emus-eat.md
Normal file
5
.changeset/tender-emus-eat.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: Add missing --watch flag for astro check when running astro check --help
|
|
@ -89,7 +89,10 @@ export async function check(
|
||||||
commandName: 'astro check',
|
commandName: 'astro check',
|
||||||
usage: '[...flags]',
|
usage: '[...flags]',
|
||||||
tables: {
|
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.`,
|
description: `Runs diagnostics against your project and reports errors to the console.`,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue