-
Notifications
You must be signed in to change notification settings - Fork 75
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
fix(Mandatory args): list missing cases #236
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for noticing and fixing - can you also add a mention to the release notes please (call it 6.2.3)
Co-authored-by: Ruben Bartelink <ruben@bartelink.com>
Co-authored-by: Ruben Bartelink <ruben@bartelink.com>
Co-authored-by: Ruben Bartelink <ruben@bartelink.com>
I have update release note. Minor version because it changes the text of the error message, and display all missing cases |
Co-authored-by: Ruben Bartelink <ruben@bartelink.com>
Co-authored-by: Ruben Bartelink <ruben@bartelink.com>
Thanks for all the follow-ups and for bearing with all my pedantry. |
Released; thanks for another excellent contribution! |
A regression has occurred in #127
Previously, if a case was missing, help was displayed for the subcommand and not for the main command. This was the same behaviour as when there was an unknown case.
This PR corrects this to restore the old behaviour.
At the same time, the error message when a case is missing has been improved. It used to display only the first missing case.
Now it displays all the missing cases.