--- function-reference/query-functions/text.xml (revision 155)
+++ function-reference/query-functions/text.xml (working copy)
@@ -23,7 +23,10 @@
use flagname
- Returns a true value if and only if flagname is included in USE
+ Returns a true value if and only if flagname is enabled.
+ The condition is inverted if prefixed with an exclamation mark,
+ !flagname.
+ It is guaranteed that use produces no output.
@@ -31,7 +34,7 @@
useq flagname
- As use, guaranteed to produce no output.
+ Deprecated synonym for use.
@@ -65,8 +68,11 @@
has flag string
- Returns true if flag is included in the flag list string (example:
- if has ccache $FEATURES ; then).
+ Returns true if flag is included in the flag list string
+ (example: if has ccache $FEATURES ; then).
+ The condition is inverted if prefixed with an exclamation mark,
+ !flag.
+ It is guaranteed that has produces no output.
@@ -74,7 +80,7 @@
hasq flag string
- As has, guaranteed quiet.
+ Deprecated synonym for has.
--- ebuild-writing/use-conditional-code/text.xml (revision 155)
+++ ebuild-writing/use-conditional-code/text.xml (working copy)
@@ -52,9 +52,11 @@
-You must not rely upon use producing an output this no longer happens.
-If you really need output displayed, use the usev function. The
-useq function is available for explicitly requesting no output.
+It is guaranteed that use produces no output. If you need output
+displayed, use the usev function; it echoes the USE flag's name
+if the condition is met.
+The useq function is a deprecated synonym for use, don't
+use it in new code.