aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Drummond <ldrumm@rtps.co>2021-11-21 23:44:43 +0000
committerEli Schwartz <eschwartz93@gmail.com>2021-11-21 18:57:23 -0500
commit150b110e7aa40082b79238d721f817126677f459 (patch)
tree86ffa7ad555afc2b6e2c1a5202af91900c0dc396
parent958b1a7fb4f384b17b23a68ecd7f90ef4bbef4ab (diff)
downloadmeson-150b110e7aa40082b79238d721f817126677f459.zip
meson-150b110e7aa40082b79238d721f817126677f459.tar.gz
meson-150b110e7aa40082b79238d721f817126677f459.tar.bz2
Clarify some wording for compiler.first_supported_argument
After a discussion implementing this for muon [1] and clarification on IRC on Meson's behaviour. [1] https://lists.sr.ht/~lattis/muon/patches/26722
-rw-r--r--docs/yaml/objects/compiler.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml
index 4cdeb54..6f49ec5 100644
--- a/docs/yaml/objects/compiler.yaml
+++ b/docs/yaml/objects/compiler.yaml
@@ -486,8 +486,9 @@ methods:
since: 0.43.0
varargs_inherit: compiler.has_multi_arguments
description: |
- Given a list of strings, returns the first argument that passes the
- [[compiler.has_argument]] test or an empty array if none pass.
+ Given a list of strings, returns a single-element list containing the first
+ argument that passes the [[compiler.has_argument]] test or an empty array if
+ none pass.
# Linker arguments