Skip to content

Commit

Permalink
Fix documentation for requires_pre
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura authored and j-mracek committed Mar 5, 2020
1 parent 0594621 commit 38011c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dnf/cli/commands/repoquery.py
Expand Up @@ -236,7 +236,9 @@ def set_argparser(parser):
'provides': _('Display capabilities provided by the package.'),
'recommends': _('Display capabilities that the package recommends.'),
'requires': _('Display capabilities that the package depends on.'),
'requires-pre': _('Display capabilities that the package depends on for running a %%pre script.'),
'requires-pre': _('If the package is not installed display capabilities that it depends on for '
'running %%pre and %%post scriptlets. If the package is installed display '
'capabilities that is depends for %%pre, %%post, %%preun and %%postun.'),
'suggests': _('Display capabilities that the package suggests.'),
'supplements': _('Display capabilities that the package can supplement.')
}
Expand Down

0 comments on commit 38011c8

Please sign in to comment.