aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-06-22 09:50:24 -0700
committerGitHub <noreply@github.com>2021-06-22 09:50:24 -0700
commita44c1d18c19b607d443e0ee6247c97a42545c6f4 (patch)
treeb0fd11a1ea1b0c8b1e8031a02e135f863792ff1d /docs/markdown
parentbee4dc9f78ad6f6d81df34816d28c06520e972a1 (diff)
parent281f5abee342b7b53ea50dd8280df4a410382f75 (diff)
downloadmeson-a44c1d18c19b607d443e0ee6247c97a42545c6f4.zip
meson-a44c1d18c19b607d443e0ee6247c97a42545c6f4.tar.gz
meson-a44c1d18c19b607d443e0ee6247c97a42545c6f4.tar.bz2
Merge pull request #8898 from e820/interpreter-required-arguments
interpreter: Add checked kwarg to compiler.get_supported_arguments
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/compiler_argument_checking.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/compiler_argument_checking.md b/docs/markdown/snippets/compiler_argument_checking.md
new file mode 100644
index 0000000..0e038ec
--- /dev/null
+++ b/docs/markdown/snippets/compiler_argument_checking.md
@@ -0,0 +1,6 @@
+## Compiler argument checking for `get_supported_arguments`
+
+The compiler method `get_supported_arguments` now supports
+a new keyword argument named `checked` that can be set to
+one of `warn`, `require` or `off` (defaults to `off`) to
+enforce argument checks.