commit: 9101c681314f17ff94abc075afc1d80c42742383 Author: Wim Muskee <wimmuskee <AT> gmail <DOT> com> AuthorDate: Mon Nov 14 19:44:29 2016 +0000 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> CommitDate: Wed Nov 30 05:56:06 2016 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9101c681
function-reference/query-functions: add has_version flag explanation, bug #307065 function-reference/query-functions/text.xml | 7 +++++-- 1 file 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>