diff options
Diffstat (limited to 'doc/apt-cache.8.xml')
-rw-r--r-- | doc/apt-cache.8.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/apt-cache.8.xml b/doc/apt-cache.8.xml index c1e65332d..6416f4edf 100644 --- a/doc/apt-cache.8.xml +++ b/doc/apt-cache.8.xml @@ -197,9 +197,14 @@ Reverse Provides: <varlistentry><term>search <replaceable>regex [ regex ... ]</replaceable></term> <listitem><para><literal>search</literal> performs a full text search on all available package - lists for the regex pattern given. It searches the package names and the + lists for the POSIX regex pattern given, see + <citerefentry><refentrytitle><command>regex</command></refentrytitle> + <manvolnum>7</manvolnum></citerefentry>. + It searches the package names and the descriptions for an occurrence of the regular expression and prints out - the package name and the short description. If <option>--full</option> is given + the package name and the short description, including virtual package + names. + If <option>--full</option> is given then output identical to <literal>show</literal> is produced for each matched package, and if <option>--names-only</option> is given then the long description is not searched, only the package name is.</para> |