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

refactor: improve invalid subcommand error message #334

Merged
merged 1 commit into from
Jun 8, 2024
Merged

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jun 8, 2024

Now argc tells the argument doesn't match the subcommand.

- `prog` requires a subcommand but one was not provided␊
+ `prog` requires a subcommand but 'abc' is not one of them␊

@sigoden sigoden merged commit da62d61 into main Jun 8, 2024
4 checks passed
@sigoden sigoden deleted the refactor branch June 8, 2024 13:20
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.

1 participant