Bug 1259451 - [RFE] Officially support "repoquery -l"
[RFE] Officially support "repoquery -l"
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2015-09-02 11:47 EDT by Vít Ondruch
Modified: 2015-09-02 13:01 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-09-02 13:01:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vít Ondruch 2015-09-02 11:47:08 EDT
Description of problem:
RPM has -ql command to list content of package. It seems that "repoquery" knows "-l" parameter, which does the same, but it is nowhere documented, so I am afraid it is not officially supported.

Version-Release number of selected component (if applicable):
$ rpm -q dnf

How reproducible:

Steps to Reproduce:
1. # dnf repoquery -l ruby-ncurses

Actual results:

Expected results:

Additional info:
Comment 1 Radek Holy 2015-09-02 12:32:09 EDT
It is officially supported.

(In reply to Vít Ondruch from comment #0)
> it is nowhere documented

1) http://dnf-plugins-core.readthedocs.org/en/latest/repoquery.html#query-options
2) $ man dnf.plugin.repoquery | grep -A 1 -- --list
          -l, --list
                 Show list of files in the package.

   $ rpm -q dnf-plugins-core
   $ cat /etc/fedora-release 
   Fedora release 24 (Rawhide)
Comment 2 Vít Ondruch 2015-09-02 12:47:49 EDT
$ dnf repoquery --help | grep -- -l

says nothing about "-l"
Comment 3 Radek Holy 2015-09-02 13:01:43 EDT
Well, you reported that you are afraid that the switch is not supported. I assured you that it is. You reported that it is documented nowhere. I showed you that it is.

The problem with the --help switch is a completely different story. Follow the bug 1158548.

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