This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-cli.git
commit f6897527e52d94d3a293b3631f80891cbfd6a22e Author: Gary Gregory <[email protected]> AuthorDate: Sat Nov 8 10:58:14 2025 -0500 Javadoc --- src/main/javadoc/overview.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/javadoc/overview.html b/src/main/javadoc/overview.html index ee751eb3..a33b3bbc 100644 --- a/src/main/javadoc/overview.html +++ b/src/main/javadoc/overview.html @@ -377,8 +377,7 @@ options.addOption(property);</code></pre> try { // parse the command line arguments CommandLine line = parser.parse(options, args); - } - catch (ParseException exp) { + } catch (ParseException exp) { // oops, something went wrong System.err.println("Parsing failed. Reason: " + exp.getMessage()); } @@ -491,8 +490,7 @@ try { // print the value of block-size System.out.println(line.getOptionValue("block-size")); } -} -catch (ParseException exp) { +} catch (ParseException exp) { System.out.println("Unexpected exception:" + exp.getMessage()); } </code></pre> </section>
