-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Describe the bug
astro dev start --help and astro dev restart --help both say that the default wait time is 5 minutes in the help text, but the actual default value—set via defaultWaitTime—is 1 minute. And this value is appended to the help text, so the help text conflicts with the additional info that gets appended.
$ astro dev start --help
[...]
--wait duration Duration to wait for webserver to get healthy. The default is 5 minutes. Use --wait 2m to wait for 2 minutes. (default 1m0s)
[...]
$ astro dev restart --help
[...]
--wait duration Duration to wait for webserver to get healthy. The default is 5 minutes. Use --wait 2m to wait for 2 minutes. (default 1m0s)
[...]
What CLI Version did you experience this bug?
Astro CLI Version: 1.33.2
This CLI bug is related to which Astronomer Platform?
- Astro
- Software
- None/Unknown
What Operating System is the above CLI installed on?
macOS Sequoia 15.4.
🪜 Steps To Reproduce
Run astro dev start --help or astro dev restart --help.
Proposed fix
I have a proposed fix in e241f9bb. Happy to open a PR if you're open to it. The proposed fix just removes the text from the help since the default value is appended anyway. That way they can never conflict.