What version of astro are you using?
1.4.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
If you run npx astro build -h it will just build and ignore the flag
If you run npx astro build --help it will print the global help message
I would expect that both commands print help details for the build command.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-rq9ofs?file=example&view=editor
Participation