Bug 1403934

Summary: [RFE] dnf provide man page names as dnf-<subcommand>
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: dnfAssignee: rpm-software-management
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: rawhideCC: packaging-team-maint, rpm-software-management, samuel-rhbugs, vmukhame
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-22 07:58:46 UTC 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 Zbigniew Jędrzejewski-Szmek 2016-12-12 16:21:20 UTC
Description of problem:
It's harder to find the right dnf man page than it should be. For example, if I want to look up dnf repoquery, I need to know that this is a plugin, and then use tab-completion to find the the man page name dnf.plugin.repoquery.

Please consider doing what git² does: provide the man pages dnf-<subcommand> for all dnf subcommands, so that 'man dnf <subcommand>' works. This is very convenient for users.

² also iproute, btrfstools, and a bunch of others.

Comment 1 Jaroslav Mracek 2023-08-22 07:58:46 UTC
The feature is implemented by DNF5 that is available in Fedora 38. We do not have plan to implement it in DNF, because it is close to EOL.

Comment 2 Zbigniew Jędrzejewski-Szmek 2023-08-22 08:12:38 UTC
$ rpm -ql dnf5|grep man                                               
/usr/share/man/man7/dnf5-comps.7.gz
/usr/share/man/man7/dnf5-installroot.7.gz
/usr/share/man/man7/dnf5-specs.7.gz
/usr/share/man/man8/dnf5-advisory.8.gz
/usr/share/man/man8/dnf5-autoremove.8.gz
/usr/share/man/man8/dnf5-clean.8.gz
/usr/share/man/man8/dnf5-distro-sync.8.gz
/usr/share/man/man8/dnf5-downgrade.8.gz
/usr/share/man/man8/dnf5-download.8.gz
/usr/share/man/man8/dnf5-environment.8.gz
/usr/share/man/man8/dnf5-group.8.gz
/usr/share/man/man8/dnf5-install.8.gz
/usr/share/man/man8/dnf5-leaves.8.gz
/usr/share/man/man8/dnf5-makecache.8.gz
/usr/share/man/man8/dnf5-mark.8.gz
/usr/share/man/man8/dnf5-reinstall.8.gz
/usr/share/man/man8/dnf5-remove.8.gz
/usr/share/man/man8/dnf5-repo.8.gz
/usr/share/man/man8/dnf5-repoquery.8.gz
/usr/share/man/man8/dnf5-search.8.gz
/usr/share/man/man8/dnf5-swap.8.gz
/usr/share/man/man8/dnf5-upgrade.8.gz
/usr/share/man/man8/dnf5.8.gz

Wonderful, thank you!