diff options
author | 2010-10-16 14:11:45 +0100 | |
---|---|---|
committer | 2010-10-16 14:11:45 +0100 | |
commit | 2be51bfec41e90b18cc9ef0819d4e61f86aee107 (patch) | |
tree | 5ef764740270c7158071815de521387ecd6b0956 /function-reference | |
parent | dependencies: Fix typo wrt Legacy Syntax (diff) | |
download | devmanual-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.xml | 16 |
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> |