Bug 1480474 - there is no correct output displayed by `dnf module <subcommand> --help`
Summary: there is no correct output displayed by `dnf module <subcommand> --help`
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Hatina
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2017-08-11 08:42 UTC by Irina Gulina
Modified: 2017-08-14 07:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-14 07:28:40 UTC
Type: Bug
Embargoed:


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

Description Irina Gulina 2017-08-11 08:42:53 UTC
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 08:43:52 UTC
Created attachment 1312023 [details]
list help output

Comment 2 Irina Gulina 2017-08-11 08:45:20 UTC
Created attachment 1312024 [details]
list help output

Comment 3 Irina Gulina 2017-08-11 08:47:09 UTC
Created attachment 1312025 [details]
install help output

Comment 4 Martin Hatina 2017-08-14 07:28:40 UTC
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.