Red Hat Bugzilla – Bug 1260443
cli: all DNF commands should use subparser
Last modified: 2016-11-14 12:20:57 EST
$ 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.
In order to parse the arguments more intelligently we need all dnf and plugin commands to assign their subparser to DNF ArgumentParser . Lets this be a tracker bug for such replacement.
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:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.