-
Notifications
You must be signed in to change notification settings - Fork 414
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
Print paramLabel only when it could exist #1404
Conversation
Can you give some detail about what you are currently seeing that is different from what you expected to see? Ideally with an example that can be reproduced. Also, I’m a bit surprised that all tests still pass with this change. (Away from my PC, cannot check.) Does that mean that this area isn’t covered by any tests? Maybe we should take this opportunity to add tests if that’s the case. |
For example: Before fix: After fix: This message really annoyed me :D |
Thanks for the clarification. |
Do you mind adding them? Won't have time to do that anytime soon. |
I currently have almost no time to spend on picocli. |
Merged. Thank you for the contribution! |
…ly when necessary" This reverts commit 978a5ad.
…ly when necessary" This reverts commit 978a5ad.
We shouldn't print paramLabels for options with arity 0.