<div class="container">
<h1>Recommended update for apache-commons-cli</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-RU-2025:0745-1</td>
</tr>
<tr>
<th>Release Date:</th>
<td>2025-02-28T14:55:01Z</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">Development Tools Module 15-SP6</li>
<li class="list-group-item">openSUSE Leap 15.6</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP6</li>
<li class="list-group-item">SUSE Manager Server 4.3</li>
<li class="list-group-item">SUSE Manager Server 4.3 Module</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that can now be installed.</p>
<h2>Description:</h2>
<p>This update for apache-commons-cli fixes the following issues:</p>
<ul>
<li>Update to 1.9.0:</li>
<li>New features:<ul>
<li>Add OptionGroup.isSelected().</li>
<li>You can now extend HelpFormatter.Builder.</li>
<li>Add 'since' attribute to Option to track when an Option was
introduced</li>
</ul>
</li>
<li>Fixed bugs:<ul>
<li>Fix Javadoc pathing</li>
<li>Updated properties documentation #285.</li>
<li>Deprecation not always reported #284.</li>
<li>Replace internal StringBuffer with StringBuilder.</li>
</ul>
</li>
<li>Updates:<ul>
<li>Bump org.apache.commons:commons-parent from 70 to 72</li>
</ul>
</li>
<li>Update to 1.8.0:</li>
<li>Fix Javadoc pathing</li>
<li>Updated apache-commons-cli-build.xml to new version.</li>
<li>Update to 1.7:</li>
<li>New features:<ul>
<li>Add and use a Converter interface and implementations without
using BeanUtils</li>
<li>Add Maven property project.build.outputTimestamp for build
reproducibility.</li>
<li>Add '-' as an option char and implemented extensive tests</li>
<li>Make adding OptionGroups and Options to existing Options
easier</li>
<li>Added Supplier; defaults for getParsedOptionValue</li>
<li>Make Option.getKey() public</li>
<li>Add builder factory CommandLine#builder().</li>
</ul>
</li>
<li>Fixes:<ul>
<li>Inconsistent behavior in key/value pairs (Java property
style). Util.stripLeadingAndTrailingQuotes(String).</li>
<li>Awkward behavior of Option.builder() for multiple optional args.</li>
<li>Properties from multiple arguments with value separator.</li>
<li>Fix for expected textual date values.</li>
<li>Option.Builder.option("") should throw IllegalArgumentException instead of
ArrayIndexOutOfBoundsException.</li>
<li>Avoid NullPointerException in CommandLine.getOptionValues(Option|String).</li>
</ul>
</li>
<li>Updates:<ul>
<li>Bump commons-parent from 64 to 69</li>
<li>Update the tests to JUnit 5</li>
<li>Bump tests commons-io:commons-io from 2.16.0 to 2.16.1</li>
</ul>
</li>
<li>Includes changes from version 1.6:</li>
<li>Fixes:<ul>
<li>[StepSecurity] ci: Harden GitHub Actions</li>
<li>Inconsistent date format in changes report.</li>
<li>Fix NPE in CommandLine.resolveOption(String).</li>
<li>CommandLine.addOption(Option) should not allow a null Option.</li>
<li>CommandLine.addArgs(String) should not allow a null String.</li>
<li>Site docs: "Usage Scenarios" refers to deprecated methods.</li>
<li>NullPointerException thrown by CommandLineParser.parse().</li>
<li>StringIndexOutOfBoundsException thrown by CommandLineParser.parse().</li>
</ul>
</li>
<li>Updates:<ul>
<li>Fix SpotBugs Error: Medium: Method intentionally throws
RuntimeException. [org.apache.commons.cli.Option] At
Option.java:[lines 417-423]
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION</li>
<li>Fix SpotBugs Error: Medium: Method intentionally throws
RuntimeException. [org.apache.commons.cli.Option] At
Option.java:[lines 446-450] THROWS_METHOD_THROWS_RUNTIMEEXCEPTION</li>
<li>Fix SpotBugs Error: Medium: Method intentionally throws
RuntimeException. [org.apache.commons.cli.Option] At
Option.java:[lines 474-478] THROWS_METHOD_THROWS_RUNTIMEEXCEPTION</li>
<li>Use EMPTY_STRING_ARRAY constant.</li>
<li>Fix site links that are broken</li>
<li>Add github/codeql-action.</li>
</ul>
</li>
<li>Use %patch -P N instead of deprecated %patchN.</li>
<li>Build with java source/target levels 8</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
openSUSE Leap 15.6
<br/>
<code>zypper in -t patch openSUSE-SLE-15.6-2025-745=1</code>
</li>
<li class="list-group-item">
Development Tools Module 15-SP6
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP6-2025-745=1</code>
</li>
<li class="list-group-item">
SUSE Manager Server 4.3 Module
<br/>
<code>zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Server-4.3-2025-745=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
openSUSE Leap 15.6 (noarch)
<ul>
<li>apache-commons-cli-1.9.0-150200.3.9.1</li>
<li>apache-commons-cli-javadoc-1.9.0-150200.3.9.1</li>
</ul>
</li>
<li>
Development Tools Module 15-SP6 (noarch)
<ul>
<li>apache-commons-cli-1.9.0-150200.3.9.1</li>
</ul>
</li>
<li>
SUSE Manager Server 4.3 Module (noarch)
<ul>
<li>apache-commons-cli-1.9.0-150200.3.9.1</li>
</ul>
</li>
</ul>
</div>