We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to #1159: Abbreviated options are not matched if value attached with '=' separator.
Test to reproduce the issue:
@Test public void testAbbreviatedOptionWithAttachedValue() { @Command class Bean { @Option(names = "--xxx-yyy") int x; } Bean bean = new Bean(); CommandLine cmd = new CommandLine(bean); cmd.setAbbreviatedOptionsAllowed(true); cmd.parseArgs("--x-y=123"); assertEquals(123, bean.x); }
The above test should pass but as of picocli 4.5.1, it fails with error UnmatchedArgumentException: Unknown option: '--x-y=123'.
UnmatchedArgumentException: Unknown option: '--x-y=123'
The text was updated successfully, but these errors were encountered:
fe01f27
@metacosm Picocli 4.5.2, which contains the fix for this issue, has been released. Enjoy!
Sorry, something went wrong.
No branches or pull requests
Related to #1159: Abbreviated options are not matched if value attached with '=' separator.
Test to reproduce the issue:
The above test should pass but as of picocli 4.5.1, it fails with error
UnmatchedArgumentException: Unknown option: '--x-y=123'
.The text was updated successfully, but these errors were encountered: