* [gentoo-commits] proj/devmanual:master commit in: function-reference/query-functions/, general-concepts/dependencies/
@ 2024-08-23 15:22 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2024-08-23 15:22 UTC (permalink / raw
To: gentoo-commits
commit: 3169c493641486a6793229700af83c75b1d0e5a8
Author: Sebastian Engel <sighunter <AT> gmx <DOT> de>
AuthorDate: Mon Aug 12 20:43:15 2024 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 15:16:30 2024 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=3169c493
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 <AT> gmx.de>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
function-reference/query-functions/text.xml | 2 +-
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">
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-23 15:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 15:22 [gentoo-commits] proj/devmanual:master commit in: function-reference/query-functions/, general-concepts/dependencies/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox