Hide Forgot
Description of problem: Man page has incorrect information for option --repoid listed as --repo Version-Release number of selected component (if applicable): How reproducible: `man dnf.plugin.repoquery` Steps to Reproduce: 1. 2. 3. Actual results: See above Expected results: Man page should list correct option as to not confuse the user Additional info: Created pull request here: https://github.com/rpm-software-management/dnf-plugins-core/pull/158/files Also added a line break after the first synopsis line since having two mutually exclusive commands on the same line create ambiguity (white-space change)
More info copied from github PR comment https://github.com/rpm-software-management/dnf-plugins-core/pull/158#issuecomment-211323999: As I investigate this further it's not simply a mis-documented switch, something else is awry: https://github.com/xenithorb/dnf-plugins-core/blob/master/plugins/repoquery.py#L88-92 Here we see: parser.add_argument('--repo', metavar='REPO', action='append', help=_('show only results from this REPO')) # make --repoid hidden compatibility alias for --repo parser.add_argument('--repoid', dest='repo', action='append', help=argparse.SUPPRESS) Of course the reason I'm here at all is simply because --repo does not work, the parent DNF command complains about it being bad format for --repofrompath, which is when --repoid works as intended. Example: #> dnf repoquery --repo fedora-nvidia usage: dnf [--allowerasing] [-b] [-C] [-c [config file]] [-d [debug level]] [--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--rpmverbosity [debug level name]] [-q] [-v] [-y] [--assumeno] [--version] [--installroot [path]] [--enablerepo [repo]] [--disablerepo [repo]] [-x [package]] [--disableexcludes [repo]] [--repofrompath [repo,path]] [--noplugins] [--nogpgcheck] [--disableplugin [plugin]] [--color COLOR] [--releasever RELEASEVER] [--setopt SETOPTS] [--refresh] [-4] [-6] [--downloadonly] [-h] Command line error: argument --repofrompath: bad format: fedora-nvidia Further sleuthing shows this commit: d1089a7 by @MichaelMraka which is basically the reverse of what I'm trying to accomplish. Perhaps "--repo" is no longer warranted due to the incompatibility with dnf proper, and we can just revert Michael's commit? I would not merge my PR at this point
This bug also needs to be filed against component: python3-dnf-plugins-core-0.1.20-1.fc23.noarch but I don't see that in the component list, can someone assist?
*** This bug has been marked as a duplicate of bug 1260986 ***