Bug 2208661

Summary: help text for `--whatconflicts` is a copy/paste of the help text for `--whatrequires`
Product: Red Hat Enterprise Linux 9 Reporter: Micah Abbott <miabbott>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: NEW --- QA Contact: swm-qe
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.2CC: ffesti, mcurlej, pmatilai
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Micah Abbott 2023-05-19 21:06:09 UTC
The help text for `--whatconflicts` appears incorrect; it looks like a copy/paste of the help text for `--whatrequires`

# rpm -q rpm
rpm-4.16.1.3-22.el9.x86_64

# rpm --help | grep -A1 whatconflicts
      --whatconflicts                query/verify the package(s) which require
                                     a dependency
# rpm --help | grep -A1 whatrequires
      --whatrequires                 query/verify the package(s) which require
                                     a dependency

Comment 1 Panu Matilainen 2023-05-23 09:51:23 UTC
Thanks for the report. Fixed upstream at https://github.com/rpm-software-management/rpm/commit/03525592c944957f3b7b200b7daeb9f615cdcde7, whether it's worth fixing in RHEL (due to the amount of process involved) is a separate question.