Description of problem: # dnf --disableexcludes list available No such command: available. Please use /bin/dnf --help It could be a DNF plugin command, try: "dnf install 'dnf-command(available)'" Where something like following works fine: # dnf --disableexcludes=all list available According to docs operands are optional if I am not mistaken. "--disableexcludes=[all|main|<repoid>]". Square brackets indicate optional? Version-Release number of selected component (if applicable): dnf-1.1.9-2.fc24.noarch How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
*** Bug 1356914 has been marked as a duplicate of this bug. ***
I think that it is not good idea. If we will set the optional argument for --disableexcludes we will have a problem to distinguish if next argument belongs to that option or it is command. The repo id could shadow 'dnf commands' and I think it will be not wise to allow non-deterministic behavior for arg parser. I recommend to close it as wont fix.
Yeah, in order to not have non-deterministic argparser I agree to close this as wontfix.