diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-02-25 09:59:13 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-02-25 22:58:45 +0200 |
commit | cef5cab23c6fb53e4ddf0d2460cb2258ef64f6d5 (patch) | |
tree | 840f2f5c0494996fd1ccfad2ff70df9532b053d0 /docs/markdown | |
parent | 4e5efd3897c5bd03fbcd32fcf43c82879ca8caf4 (diff) | |
download | meson-cef5cab23c6fb53e4ddf0d2460cb2258ef64f6d5.zip meson-cef5cab23c6fb53e4ddf0d2460cb2258ef64f6d5.tar.gz meson-cef5cab23c6fb53e4ddf0d2460cb2258ef64f6d5.tar.bz2 |
Support multiple args in error()
Seems it got forgotten when that was added to warnings() and message().
Fixes: #8414.
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 3 | ||||
-rw-r--r-- | docs/markdown/snippets/error_msg.md | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 3693e57..4fb0b63 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -580,6 +580,9 @@ Returns a [disabler object](#disabler-object). Print the argument string and halts the build process. +*(since 0.58.0)* Can take more than one argument that will be separated by +space. + ### environment() ``` meson diff --git a/docs/markdown/snippets/error_msg.md b/docs/markdown/snippets/error_msg.md new file mode 100644 index 0000000..a17372f --- /dev/null +++ b/docs/markdown/snippets/error_msg.md @@ -0,0 +1,4 @@ +## `error()` with multiple arguments + +Just like `warning()` and `message()`, `error()` can now take more than one +argument that will be separated by space. |