diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-01-23 16:04:04 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-04-07 17:16:26 -0400 |
| commit | 99f510a817f1408e87813d33e4ef6fdd21d2bc20 (patch) | |
| tree | 7dc97c48144cbe89ff43adb068c78a0bd3df6d4d /docs/yaml/functions | |
| parent | f192ecd1effbed2dcc507707a780ecc8e95a537e (diff) | |
| download | meson-99f510a817f1408e87813d33e4ef6fdd21d2bc20.tar.gz | |
docs: YAML: Add `arg_flattening: false` where required
Diffstat (limited to 'docs/yaml/functions')
| -rw-r--r-- | docs/yaml/functions/environment.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/error.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/get_variable.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/message.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/set_variable.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/summary.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/warning.yaml | 2 |
7 files changed, 14 insertions, 0 deletions
diff --git a/docs/yaml/functions/environment.yaml b/docs/yaml/functions/environment.yaml index 5fb81e34e..5c3a43d5f 100644 --- a/docs/yaml/functions/environment.yaml +++ b/docs/yaml/functions/environment.yaml @@ -3,6 +3,8 @@ returns: env since: 0.35.0 description: Returns an empty [[@env]] object. +arg_flattening: false + optargs: env: type: str | list[str] | dict[str] | dict[list[str]] diff --git a/docs/yaml/functions/error.yaml b/docs/yaml/functions/error.yaml index f4bb84cd0..628e5b85c 100644 --- a/docs/yaml/functions/error.yaml +++ b/docs/yaml/functions/error.yaml @@ -2,6 +2,8 @@ name: error returns: void description: Print the argument string and halts the build process. +arg_flattening: false + posargs: message: type: str diff --git a/docs/yaml/functions/get_variable.yaml b/docs/yaml/functions/get_variable.yaml index f8177c1cf..78bd7fd91 100644 --- a/docs/yaml/functions/get_variable.yaml +++ b/docs/yaml/functions/get_variable.yaml @@ -8,6 +8,8 @@ description: | `res`instead. If a fallback is not specified, then attempting to read a non-existing variable will cause a fatal error. +arg_flattening: false + posargs: variable_name: type: str diff --git a/docs/yaml/functions/message.yaml b/docs/yaml/functions/message.yaml index 9d832c1af..e4804574c 100644 --- a/docs/yaml/functions/message.yaml +++ b/docs/yaml/functions/message.yaml @@ -2,6 +2,8 @@ name: message returns: void description: This function prints its argument to stdout. +arg_flattening: false + posargs: text: type: str | int | bool | list[str | int | bool] | dict[str | int | bool] diff --git a/docs/yaml/functions/set_variable.yaml b/docs/yaml/functions/set_variable.yaml index 19dc2e165..e9b5db333 100644 --- a/docs/yaml/functions/set_variable.yaml +++ b/docs/yaml/functions/set_variable.yaml @@ -6,6 +6,8 @@ description: | *(since 0.46.1)* The `value` parameter can be an array type. +arg_flattening: false + posargs: variable_name: type: str diff --git a/docs/yaml/functions/summary.yaml b/docs/yaml/functions/summary.yaml index 29bff0ba2..cf63dcd78 100644 --- a/docs/yaml/functions/summary.yaml +++ b/docs/yaml/functions/summary.yaml @@ -61,6 +61,8 @@ example: | True ``` +arg_flattening: false + posargs: key_or_dict: type: str | dict[str | bool | int | dep | external_program | list[str | bool | int | dep | external_program]] diff --git a/docs/yaml/functions/warning.yaml b/docs/yaml/functions/warning.yaml index f4bb0ec06..64b1a0327 100644 --- a/docs/yaml/functions/warning.yaml +++ b/docs/yaml/functions/warning.yaml @@ -3,5 +3,7 @@ returns: void since: 0.44.0 description: This function prints its argument to stdout prefixed with WARNING:. +arg_flattening: false + posargs_inherit: message varargs_inherit: message |
