diff options
author | Wim Muskee <wimmuskee@gmail.com> | 2016-11-14 20:44:29 +0100 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-11-30 00:56:06 -0500 |
commit | 9101c681314f17ff94abc075afc1d80c42742383 (patch) | |
tree | 7ebc9b7eb991db1b775326929258987e4a89d28b /function-reference | |
parent | function-reference/install-functions: differentiate doexe and dobin better (diff) | |
download | devmanual-9101c681314f17ff94abc075afc1d80c42742383.tar.gz devmanual-9101c681314f17ff94abc075afc1d80c42742383.tar.bz2 devmanual-9101c681314f17ff94abc075afc1d80c42742383.zip |
function-reference/query-functions: add has_version flag explanation, bug #307065
Diffstat (limited to 'function-reference')
-rw-r--r-- | function-reference/query-functions/text.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml index f53963d..a9f898d 100644 --- a/function-reference/query-functions/text.xml +++ b/function-reference/query-functions/text.xml @@ -102,10 +102,13 @@ query variables and similar state. </tr> <tr> <ti> - <c>has_version pkg</c> + <c>has_version pkg[flag]</c> </ti> <ti> - True if <c>pkg</c> (can include version specifiers) is installed. + True if <c>pkg</c> (can include version specifiers and + <uri link="::general-concepts/dependencies#built with use dependencies"/>) + is installed. Example: <c>has_version + "=app-editors/nano-2.5.3[nls,spell]"</c>. </ti> </tr> </table> |