Bug 1260443 - cli: all DNF commands should use subparser
Summary: cli: all DNF commands should use subparser
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-06 22:54 UTC by Igor Gnatenko
Modified: 2016-11-14 17:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-14 17:20:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2015-09-06 22:54:13 UTC
$ sudo dnf --releaserver=22 makecache
[sudo] password for brain: 
No such command: --releaserver=22. Please use /bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(--releaserver=22)'"

for example, command: dnf distro-sync --releaserver=23 will download repos for f22 and only then prints that --releaserver is not a command.

Comment 1 Honza Silhan 2015-09-07 15:13:35 UTC
In order to parse the arguments more intelligently we need all dnf and plugin commands to assign their subparser to DNF ArgumentParser [1]. Lets this be a tracker bug for such replacement.

[1] https://github.com/rpm-software-management/dnf/pull/348

Comment 2 Jan Kurik 2016-02-24 13:43:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 3 Fedora Admin XMLRPC Client 2016-07-08 09:33:16 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


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