Skip to content

Commit 13392fe

Browse files
committed
Noralize formatting
1 parent 5a312b8 commit 13392fe

1 file changed

Lines changed: 21 additions & 26 deletions

File tree

src/test/java/org/apache/commons/cli/HelpFormatterTest.java

Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -297,38 +297,33 @@ public void testOptionWithoutShortFormat2() {
297297
final Option version = new Option("v", "version", false, "print version information");
298298
final Option newRun = new Option("n", "new", false, "Create NLT cache entries only for new items");
299299
final Option trackerRun = new Option("t", "tracker", false, "Create NLT cache entries only for tracker items");
300-
301300
//@formatter:off
302301
final Option timeLimit = Option.builder("l")
303-
.longOpt("limit")
304-
.hasArg()
305-
.valueSeparator()
306-
.desc("Set time limit for execution, in mintues")
307-
.build();
308-
302+
.longOpt("limit")
303+
.hasArg()
304+
.valueSeparator()
305+
.desc("Set time limit for execution, in mintues")
306+
.build();
309307
final Option age = Option.builder("a").longOpt("age")
310-
.hasArg()
311-
.valueSeparator()
312-
.desc("Age (in days) of cache item before being recomputed")
313-
.build();
314-
308+
.hasArg()
309+
.valueSeparator()
310+
.desc("Age (in days) of cache item before being recomputed")
311+
.build();
315312
final Option server = Option.builder("s").longOpt("server")
316-
.hasArg()
317-
.valueSeparator()
318-
.desc("The NLT server address")
319-
.build();
320-
313+
.hasArg()
314+
.valueSeparator()
315+
.desc("The NLT server address")
316+
.build();
321317
final Option numResults = Option.builder("r").longOpt("results")
322-
.hasArg()
323-
.valueSeparator()
324-
.desc("Number of results per item")
325-
.build();
326-
318+
.hasArg()
319+
.valueSeparator()
320+
.desc("Number of results per item")
321+
.build();
327322
final Option configFile = Option.builder().longOpt("config")
328-
.hasArg()
329-
.valueSeparator()
330-
.desc("Use the specified configuration file")
331-
.build();
323+
.hasArg()
324+
.valueSeparator()
325+
.desc("Use the specified configuration file")
326+
.build();
332327
//@formatter:on
333328

334329
final Options mOptions = new Options();

0 commit comments

Comments
 (0)