-
Notifications
You must be signed in to change notification settings - Fork 995
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
Split showHelpOnFail error level #2170
Comments
I am not sure I understand. What is an example of an application level error? (Like a throw, or accessing undefined variable in own code?) |
I've noticed that help is shown either when the user specifies an invalid command/option, or when an async command handler throws an error. I wonder if that's what OP is running into and trying to disable. I've opened an issue with more details about this case at #2394. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to customize somehow error level for
showHelpOnFail
to show help only forcli
notation level errors.E.g. wrong option set provided, unknown command etc.
But same time to skip usage screen if an application level error is raised.
Thx!
The text was updated successfully, but these errors were encountered: