Bug 1480473

Summary: dnf module --help doesn't show a list of subcommands
Product: [Fedora] Fedora Reporter: Irina Gulina <igulina>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dmach, mhatina, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---   
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: 2017-08-14 07:27:55 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:
Bug Depends On:    
Bug Blocks: 1478068    
Attachments:
Description Flags
dnf module help output none

Description Irina Gulina 2017-08-11 08:37:41 UTC
Created attachment 1312021 [details]
dnf module help output

Description of problem:

1) I expect the list of module's subcommands [1] on `dnf module --help`, but there is none.
2) I doubt that all options displayed by `dnf module -help` belong to module command. Only the relevant should be displayed.

[1] https://copr.fedorainfracloud.org/coprs/mhatina/DNF-Modules/
module list command
module info command
module enable command
module disable command
module install command
install command
module update command
update command


Version-Release number of selected component (if applicable):
latest boltron compose 07-17
dnf-2.6.0-3.git.40.c0f7fc6.module_a7788b02.noarch

Comment 1 Martin Hatina 2017-08-14 07:27:55 UTC
1) Fixed in https://copr.fedorainfracloud.org/coprs/mhatina/DNF-Modules
2) Cannot fix, argument parser of dnf would have to be rewritten and dnf team doesn't see so much pros in rewriting it right now