commit: 79871f29c8034612df39cc341f6ce33b0f48a41f Author: John Helmert III <ajak <AT> gentoo <DOT> org> AuthorDate: Tue Apr 13 20:42:38 2021 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Jun 13 11:48:16 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=79871f29
function-reference/query-functions: document missing pms functions Signed-off-by: John Helmert III <ajak <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> function-reference/query-functions/text.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml index da24380..b4be963 100644 --- a/function-reference/query-functions/text.xml +++ b/function-reference/query-functions/text.xml @@ -45,6 +45,17 @@ query variables and similar state. As <c>use</c>, echoes <c>flagname</c> upon success. </ti> </tr> + <tr> + <ti> + <c>usex flag [true output] [false output] [true suffix] [false suffix]</c> + </ti> + <ti> + If <c>flag</c> is enabled, echo [true output][true suffix], otherwise + echo [false output][false suffix]. If unspecified, true and false outputs + are equal to "yes" and "no" respectively. The suffixes default to empty + strings. + </ti> + </tr> <tr> <ti> <c>use_enable flag str val</c> @@ -63,6 +74,15 @@ query variables and similar state. As <c>use_enable</c>, but <c>--with-</c> or <c>--without-</c>. </ti> </tr> + <tr> + <ti> + <c>in_iuse flag</c> + </ti> + <ti> + Returns true if the ebuild can use <c>flag</c> in <c>use</c> queries, + false otherwise. + </ti> + </tr> <tr> <ti> <c>has word item...</c>