We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13392fe commit 50b9c7eCopy full SHA for 50b9c7e
1 file changed
src/test/java/org/apache/commons/cli/bug/BugCLI325Test.java
@@ -32,15 +32,14 @@ public class BugCLI325Test {
32
33
@Test
34
public void testCli325() throws ParseException {
35
-
+ // @formatter:off
36
final Option option = Option.builder("x")
37
- .hasArgs()
38
- .valueSeparator()
39
- .desc("Multiple arg option with value separator.")
40
- .build();
41
+ .hasArgs()
+ .valueSeparator()
+ .desc("Multiple arg option with value separator.")
+ .build();
+ // @formatter:on
42
final String[] args = {"-x", "A=a", "B=b"};
43
44
final CommandLine cmdLine = DefaultParser.builder().build().parse(new Options().addOption(option), args);
45
final Properties props = cmdLine.getOptionProperties(option);
46
assertEquals(2, props.size());
0 commit comments