Bug 1480473 - dnf module --help doesn't show a list of subcommands
Summary: dnf module --help doesn't show a list of subcommands
Keywords:
Status: CLOSED NEXTRELEASE
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:37 UTC by Irina Gulina
Modified: 2017-08-14 07:27 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:27:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf module help output (5.11 KB, text/plain)
2017-08-11 08:37 UTC, Irina Gulina
no flags Details

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


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