summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/find_program.yaml
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-07-19 21:50:09 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-07-22 09:05:22 -0700
commit092ab8c9e117cc00aa699c8d513572f95009cae8 (patch)
treef1423cd24212df161a9c45247d3cf78e87737659 /docs/yaml/functions/find_program.yaml
parent2b7661a43f8e85d666dd66ecddb85aedb154a58c (diff)
downloadmeson-092ab8c9e117cc00aa699c8d513572f95009cae8.tar.gz
Docs: standardize between list and array as array
When arrays were added they were called arrays. Because the are implemented with Python lists, that language started leaking into talking about Meson types. This is confusing. I've attempted, as much as possible, to move to using one name, array. I picked array because 1) It's the original name used, and 2) what Meson has are more properly arrays as they have a fixed length, while a critical property of lists are the ability to link and unlink them. There are a couple of places where the list language has leaked into the names of keyword arguments. I have not made any attempt to change those, I don't know if it's that useful or not.
Diffstat (limited to 'docs/yaml/functions/find_program.yaml')
-rw-r--r--docs/yaml/functions/find_program.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/yaml/functions/find_program.yaml b/docs/yaml/functions/find_program.yaml
index 1899941ab..110f5df83 100644
--- a/docs/yaml/functions/find_program.yaml
+++ b/docs/yaml/functions/find_program.yaml
@@ -24,7 +24,7 @@ description: |
(because the command invocator will reject the command otherwise) and
Unixes (if the script file does not have the executable bit set).
Hence, you *must not* manually add the interpreter while using this
- script as part of a list of commands. Since *0.50.0* if the "python3"
+ script as part of an array of commands. Since *0.50.0* if the "python3"
program is requested and it is not found in the system, Meson will return
its current interpreter.
@@ -98,7 +98,7 @@ kwargs:
instead of a not-found object.
version:
- type: str | list[str]
+ type: str | array[str]
since: 0.52.0
description: |
Specifies the required version, see
@@ -117,12 +117,12 @@ kwargs:
If this is unspecified, `program_name --version` will be used.
dirs:
- type: list[str]
+ type: array[str]
since: 0.53.0
- description: extra list of absolute paths where to look for program names.
+ description: extra array of absolute paths where to look for program names.
default_options:
- type: list[str] | dict[str | bool | int | list[str]]
+ type: array[str] | dict[str | bool | int | array[str]]
since: 1.3.0
description: |
An array of default option values