-
Notifications
You must be signed in to change notification settings - Fork 418
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
"wrong number of arguments" exception when using inherited options with @Command
-annotated methods
#1042
Comments
…rited options with `@Command`-annotated methods
Thank you @garretwilson for raising this! Can I ask you a favor: can you take the new version for a spin with your use case(s)? It would be good to find if there are other issues not covered by the picocli tests before I publish a new release... To verify, check out picocli master locally, and build it with
You can then try this in a project that uses the |
Man, @remkop , today was not my day. One roadblock after another. Eclipse bugs. Picocli bugs. Lots of other things that you weren't responsible for. 😆 Finally I gave up, watched movies, and drank beers. I guess that's what vacations days are for anyway. I'm sorry but I won't be able to test this out as a Boa sorte and thanks for filing this ticket for me. Now I think I have one or two more beers in my quarantine lair here … |
@garretwilson picocli 4.3.1 has been released. Enjoy! :-) |
@remkop that seems to have fixed it. Thank you so much! |
Great! Make sure to use the latest version (4.3.2). |
The inherited options (#649) feature introduced in picocli 4.3 causes an exception when used with
@Command
-annotated methods:Code to reproduce the problem:
Output:
The text was updated successfully, but these errors were encountered: