rpm-software-management / dnf5

Next-generation RPM package management system
Other
257 stars 87 forks source link

dnf repoquery short options are missing #1835

Open yrro opened 3 weeks ago

yrro commented 3 weeks ago

dnf repoquery -qi /usr/bin/bash dnf repoquery -qf /usr/bin/bash ... and so on have not been implemented.

The long options (dnf repoquery -q --files /usr/bin/bash and so on) can be used as a workaround.

Ricky-Tigg commented 2 weeks ago

dnf repoquery -q --files /usr/bin/bash

Hello. As per the 'man dnf5''s synopsis

'dnf5 <command> [options] [<args>...]',

the '-q|--quiet' option part of your command-line has for description "In combination with a non-interactive command, shows just the relevant content.". Therefore, the use of this '-q' option would not be needed in order to obtain the output that you are seeking for, which is accomplished either by

Note: implemented but undocumented short option 'rq ' for 'repoquery'.