diff options
author | Luke Drummond <ldrumm@rtps.co> | 2021-11-21 23:44:43 +0000 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-11-21 18:57:23 -0500 |
commit | 150b110e7aa40082b79238d721f817126677f459 (patch) | |
tree | 86ffa7ad555afc2b6e2c1a5202af91900c0dc396 | |
parent | 958b1a7fb4f384b17b23a68ecd7f90ef4bbef4ab (diff) | |
download | meson-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.yaml | 5 |
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 |