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

Improve error reporting when an unsupported option is provided #44

Open
michaelklishin opened this issue Aug 3, 2024 · 0 comments
Open

Comments

@michaelklishin
Copy link
Collaborator

Currently cuttlefish_escript:parse_and_command/1 falls back to displaying help, which trips up on log_level being undefined.

Instead, a more reasonable error message should be provided, and the log level should have a fallback default (not provided to getopt but used in cuttlefish_escript if "all else fails").

michaelklishin added a commit that referenced this issue Aug 3, 2024
when an unknown CLI argument is provided.

References #44.
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