1 |
commit: 9101c681314f17ff94abc075afc1d80c42742383 |
2 |
Author: Wim Muskee <wimmuskee <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Nov 14 19:44:29 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 05:56:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9101c681 |
7 |
|
8 |
function-reference/query-functions: add has_version flag explanation, bug #307065 |
9 |
|
10 |
function-reference/query-functions/text.xml | 7 +++++-- |
11 |
1 file changed, 5 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml |
14 |
index f53963d..a9f898d 100644 |
15 |
--- a/function-reference/query-functions/text.xml |
16 |
+++ b/function-reference/query-functions/text.xml |
17 |
@@ -102,10 +102,13 @@ query variables and similar state. |
18 |
</tr> |
19 |
<tr> |
20 |
<ti> |
21 |
- <c>has_version pkg</c> |
22 |
+ <c>has_version pkg[flag]</c> |
23 |
</ti> |
24 |
<ti> |
25 |
- True if <c>pkg</c> (can include version specifiers) is installed. |
26 |
+ True if <c>pkg</c> (can include version specifiers and |
27 |
+ <uri link="::general-concepts/dependencies#built with use dependencies"/>) |
28 |
+ is installed. Example: <c>has_version |
29 |
+ "=app-editors/nano-2.5.3[nls,spell]"</c>. |
30 |
</ti> |
31 |
</tr> |
32 |
</table> |