We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f97af commit f689752Copy full SHA for f689752
1 file changed
src/main/javadoc/overview.html
@@ -377,8 +377,7 @@ <h2>Creating the Parser</h2>
377
try {
378
// parse the command line arguments
379
CommandLine line = parser.parse(options, args);
380
- }
381
- catch (ParseException exp) {
+ } catch (ParseException exp) {
382
// oops, something went wrong
383
System.err.println("Parsing failed. Reason: " + exp.getMessage());
384
}
@@ -491,8 +490,7 @@ <h1><img src="org/apache/commons/cli/doc-files/leaf.svg" style="height: 1em; pad
491
490
// print the value of block-size
492
System.out.println(line.getOptionValue("block-size"));
493
494
-}
495
-catch (ParseException exp) {
+} catch (ParseException exp) {
496
System.out.println("Unexpected exception:" + exp.getMessage());
497
} </code></pre>
498
</section>
0 commit comments