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

usage: Fix panic when printing usage on error #106

Merged
merged 1 commit into from
Jul 26, 2019
Merged

Conversation

tony-iqlusion
Copy link
Member

Previously this would panic in the event the user provided a valid subcommand which is an enum containing only other subcommands.

This fixes that error to display usage for that parent command.

Previously this would panic in the event the user provided a valid
subcommand which is an enum containing only other subcommands.

This fixes that error to display usage for that parent command.
@tony-iqlusion tony-iqlusion merged commit cd8c4c5 into develop Jul 26, 2019
@tony-iqlusion tony-iqlusion deleted the fix-usage-bug branch July 26, 2019 23:04
@tony-iqlusion tony-iqlusion mentioned this pull request Jul 27, 2019
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

Successfully merging this pull request may close these issues.

None yet

1 participant