diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-11-26 11:45:44 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-11-26 11:46:06 +0100 |
commit | 94b185bb738e063bcc387e31b39dcd041f283766 (patch) | |
tree | a1d7b4120c1bedfb1b153b1d37c85b9c878392af /doc/apt-patterns.7.xml | |
parent | 6801e6d2c63d4ff087024fc84a0feb8aef86886b (diff) |
patterns: Implement ?narrow(...), as ?any-version(?and(...))
This is pure syntactic sugar - ?narrow does not exist in the
abstract syntax.
Diffstat (limited to 'doc/apt-patterns.7.xml')
-rw-r--r-- | doc/apt-patterns.7.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 102ed3901..c2549f620 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -69,6 +69,9 @@ <listitem><para>Selects any version where the pattern matches on the version.</para> <para>For example, while <code>?and(?version(1),?version(2))</code> matches a package which has one version containing 1 and one version containing 2, <code>?any-version(?and(?version(1),?version(2)))</code> restricts the <code>?and</code> to act on the same version.</para></listitem> </varlistentry> + <varlistentry><term><code>?narrow(PATTERN...)</code></term> + <listitem><para>Selects any version matching all PATTERNs, short for<code>?any-version(?and(PATTERN...))</code>.</para></listitem> + </varlistentry> </variablelist> </refsect1> <refsect1> @@ -181,6 +184,9 @@ <listitem> <para>A trailing comma is allowed in argument lists</para> </listitem> + <listitem> + <para>?narrow accepts infinite arguments</para> + </listitem> </itemizedlist> </refsect1> |