summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorArno Bauernöppel <https://github.com/gronkern>2022-07-08 20:36:17 -0700
committerBrian Dolbec <dolsen@gentoo.org>2022-07-08 20:39:50 -0700
commit3e35553df4673ed05615adc088fdbbc3f212c876 (patch)
treec8a7da42e5f9a837f310fd92ea2093e01bfeea4e /man
parentequery: update linguas->l10n option (diff)
downloadgentoolkit-3e35553df4673ed05615adc088fdbbc3f212c876.tar.gz
gentoolkit-3e35553df4673ed05615adc088fdbbc3f212c876.tar.bz2
gentoolkit-3e35553df4673ed05615adc088fdbbc3f212c876.zip
equery: Add -F TMPL option to depends module
Like in other modules it is now possible to format the output of the equery module 'depends' with the commandline switch '-F' and TMPL. The man page was adujusted. A new static method 'print_formated' was created. In method 'format_depend' is checked if the new option is present. Depending on the check the PackageFormatter is used to display the dependencies. manually apply github PR, some minor editing. Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/equery.14
1 files changed, 4 insertions, 0 deletions
diff --git a/man/equery.1 b/man/equery.1
index ee7ad7b..9cb046f 100644
--- a/man/equery.1
+++ b/man/equery.1
@@ -129,6 +129,10 @@ Include dependencies that are not installed. This can take a while.
.br
Search for both direct and indirect dependencies.
.HP
+.B \-F, \-\-format=\fITMPL\fP
+.br
+Customize the output format of the matched packages using the template string \fITMPL\fP. See the \fB\-\-format\fP option for \fBlist\fP below for a description of the \fITMPL\fP argument.
+.HP
.BI "\-\-depth=" "NUM"
.br
Limit the indirect dependency tree to a depth of \fINUM\fP. \fB\-\-depth=0\fP is equivalent to not using \fB\-\-indirect\fP.