aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-10-16 14:11:45 +0100
committerMarkos Chandras <hwoarang@gentoo.org>2010-10-16 14:11:45 +0100
commit2be51bfec41e90b18cc9ef0819d4e61f86aee107 (patch)
tree5ef764740270c7158071815de521387ecd6b0956 /function-reference
parentdependencies: Fix typo wrt Legacy Syntax (diff)
downloaddevmanual-2be51bfec41e90b18cc9ef0819d4e61f86aee107.tar.gz
devmanual-2be51bfec41e90b18cc9ef0819d4e61f86aee107.tar.bz2
devmanual-2be51bfec41e90b18cc9ef0819d4e61f86aee107.zip
Update documentation for use and useq. Thanks to Ulrich Müller. Bug #299196
Diffstat (limited to 'function-reference')
-rw-r--r--function-reference/query-functions/text.xml16
1 files changed, 11 insertions, 5 deletions
diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml
index 1193f11..dc88b9d 100644
--- a/function-reference/query-functions/text.xml
+++ b/function-reference/query-functions/text.xml
@@ -23,7 +23,10 @@ query variables and similar state.
<c>use flagname</c>
</ti>
<ti>
- Returns a true value if and only if <c>flagname</c> is included in <c>USE</c>
+ Returns a true value if and only if <c>flagname</c> is enabled.
+ The condition is inverted if prefixed with an exclamation mark,
+ <c>!flagname</c>.
+ It is guaranteed that <c>use</c> produces no output.
</ti>
</tr>
<tr>
@@ -31,7 +34,7 @@ query variables and similar state.
<c>useq flagname</c>
</ti>
<ti>
- As <c>use</c>, guaranteed to produce no output.
+ Deprecated synonym for <c>use</c>.
</ti>
</tr>
<tr>
@@ -65,8 +68,11 @@ query variables and similar state.
<c>has flag string</c>
</ti>
<ti>
- Returns true if <c>flag</c> is included in the flag list <c>string</c> (example:
- <c>if has ccache $FEATURES ; then</c>).
+ Returns true if <c>flag</c> is included in the flag list <c>string</c>
+ (example: <c>if has ccache $FEATURES ; then</c>).
+ The condition is inverted if prefixed with an exclamation mark,
+ <c>!flag</c>.
+ It is guaranteed that <c>has</c> produces no output.
</ti>
</tr>
<tr>
@@ -74,7 +80,7 @@ query variables and similar state.
<c>hasq flag string</c>
</ti>
<ti>
- As <c>has</c>, guaranteed quiet.
+ Deprecated synonym for <c>has</c>.
</ti>
</tr>
<tr>