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 a6526104 Fix malformed Javadoc comments
a6526104 is described below
commit a6526104cc68f0bddc3014ca6beb084353714bd1
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 13 08:59:46 2025 -0500
Fix malformed Javadoc comments
---
src/changes/changes.xml | 1 +
src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 62b24c57..a5309fd0 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -25,6 +25,7 @@
<release version="1.11.1" date="YYYY-MM-DD" description="This is a feature
and maintenance release. Java 8 or later is required.">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Elric">Fix broken Introduction
links on the website #417.</action>
+ <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix malformed
Javadoc comments.</action>
<!-- ADD -->
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory,
Dependabot">Bump org.apache.commons:commons-parent from 91 to 93 #414,
#416.</action>
diff --git a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
index 23204143..f7cbd923 100644
--- a/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
+++ b/src/main/java/org/apache/commons/cli/help/TextHelpAppendable.java
@@ -137,7 +137,7 @@ public class TextHelpAppendable extends
FilterHelpAppendable {
* <li>The minimum size for a column may not be smaller than the length of
the column header</li>
* <li>The maximum size is set to the maximum of the length of the header
or the longest line length.</li>
* <li>If the total size of the columns is greater than the page wight,
adjust the size of VARIABLE columns to attempt reduce the width to the the
maximum
- * size.
+ * size.</li>
* </ul>
* <p>
* Note: it is possible for the size of the columns to exceed the declared
page width. In this case the table will extend beyond the desired page width.