diff options
author | Sebastian Engel <sighunter@gmx.de> | 2024-08-12 22:43:15 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-08-23 17:16:30 +0200 |
commit | 3169c493641486a6793229700af83c75b1d0e5a8 (patch) | |
tree | b9ab048f37ee05977045dccf081fbcdded4a2b2f | |
parent | tools-reference/echo: Improve wording in abuse chapter (diff) | |
download | devmanual-3169c493641486a6793229700af83c75b1d0e5a8.tar.gz devmanual-3169c493641486a6793229700af83c75b1d0e5a8.tar.bz2 devmanual-3169c493641486a6793229700af83c75b1d0e5a8.zip |
g-c/dependencies + f-r/query-functions: Remove double if constraints
The double if "if and only if" feels bumpy when reading, makes the reader
wonder if there is a deeper hidden meaning but serves no purpose, so
remove it.
Signed-off-by: Sebastian Engel <sighunter@gmx.de>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r-- | function-reference/query-functions/text.xml | 2 | ||||
-rw-r--r-- | general-concepts/dependencies/text.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml index 529bb77..49de81b 100644 --- a/function-reference/query-functions/text.xml +++ b/function-reference/query-functions/text.xml @@ -23,7 +23,7 @@ query variables and similar state. <c>use flagname</c> </ti> <ti> - Returns a true value if and only if <c>flagname</c> is enabled. + Returns a true value if <c>flagname</c> is enabled, false otherwise. The condition is inverted if prefixed with an exclamation mark, <c>!flagname</c>. It is guaranteed that <c>use</c> produces no output. diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml index 3201d91..6c3207d 100644 --- a/general-concepts/dependencies/text.xml +++ b/general-concepts/dependencies/text.xml @@ -462,7 +462,7 @@ sub-slot changes of <c>wombat:0</c> should be ignored. <body> <p> -To depend upon a certain package if and only if a given <c>USE</c> flag is set: +To depend upon a certain package only if a given <c>USE</c> flag is set: </p> <codesample lang="ebuild"> |