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


The following commit(s) were added to refs/heads/master by this push:
     new e94d1cf8 Javadoc
e94d1cf8 is described below

commit e94d1cf8dcd29fddb722e23c0e4f495172e0aa09
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 8 11:26:58 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 a33b3bbc..b1f2cc34 100644
--- a/src/main/javadoc/overview.html
+++ b/src/main/javadoc/overview.html
@@ -185,8 +185,7 @@ CommandLine cmd = parser.parse(options, args);</code>
         </p>
         <pre><code>if(cmd.hasOption("t")) {
     // print the date and time
-}
-else {
+} else {
     // print the date
 }</code></pre>
         <p>
@@ -235,8 +234,7 @@ String countryCode = cmd.getOptionValue("c");
 
 if(countryCode == null) {
     // print default date
-}
-else {
+} else {
     // print date for country specified by countryCode
 }</code></pre>
       </section>

Reply via email to