Bug 1480474 - there is no correct output displayed by `dnf module <subcommand> --help`
there is no correct output displayed by `dnf module <subcommand> --help`
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
26
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Martin Hatina
Fedora Extras Quality Assurance
:
Depends On:
Blocks: dnf-modularity
  Show dependency treegraph
 
Reported: 2017-08-11 04:42 EDT by Irina Gulina
Modified: 2017-08-14 03:28 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-14 03:28:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
update help output (5.11 KB, text/plain)
2017-08-11 04:42 EDT, Irina Gulina
no flags Details
list help output (5.11 KB, text/plain)
2017-08-11 04:43 EDT, Irina Gulina
no flags Details
list help output (5.11 KB, text/plain)
2017-08-11 04:45 EDT, Irina Gulina
no flags Details
install help output (5.11 KB, text/plain)
2017-08-11 04:47 EDT, Irina Gulina
no flags Details

  None (edit)
Description Irina Gulina 2017-08-11 04:42:53 EDT
Created attachment 1312022 [details]
update help output

Description of problem:

dnf module [subcommand] --help shows the same output for all subcommands [1] . Compare files in attachment. I expect only relevant to subcommand options to 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

How reproducible:
always
Comment 1 Irina Gulina 2017-08-11 04:43 EDT
Created attachment 1312023 [details]
list help output
Comment 2 Irina Gulina 2017-08-11 04:45 EDT
Created attachment 1312024 [details]
list help output
Comment 3 Irina Gulina 2017-08-11 04:47 EDT
Created attachment 1312025 [details]
install help output
Comment 4 Martin Hatina 2017-08-14 03:28:40 EDT
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

Note You need to log in before you can comment on or make changes to this bug.