Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better error if passing a bad arg to install.sh #264

Open
mwrock opened this issue May 13, 2022 · 0 comments
Open

Provide better error if passing a bad arg to install.sh #264

mwrock opened this issue May 13, 2022 · 0 comments

Comments

@mwrock
Copy link
Contributor

mwrock commented May 13, 2022

I accidentally mistyped --install-postgresl and got an error that was not obvious:

ERROR: Invalid argument provided
Use -h or --help to view the available options.

Now one might think that ^^^ is obvious enough. What made it confusing is that the script did a bunch of stuff first (like installing hab) so it made me woder if that error was coming from inside the script and not my own command.

Ideally we would catch the error first thing or we would actually print out the --help with the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant