aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-03-01 12:21:56 -0800
committerDylan Baker <dylan@pnwbakers.com>2023-06-20 16:10:20 -0700
commitbe20e0809f3cee518a49f4c22ce3ca19319ebb33 (patch)
tree0ad524dad972c023255f49329b810e34d13631aa /docs/markdown/snippets
parentd0cbda99a3932f2a66c40ba1e1cfe6332e6b68bb (diff)
downloadmeson-be20e0809f3cee518a49f4c22ce3ca19319ebb33.zip
meson-be20e0809f3cee518a49f4c22ce3ca19319ebb33.tar.gz
meson-be20e0809f3cee518a49f4c22ce3ca19319ebb33.tar.bz2
interpreter: allow default_options and override_options as a dict
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/option_dict.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/option_dict.md b/docs/markdown/snippets/option_dict.md
new file mode 100644
index 0000000..79cca5f
--- /dev/null
+++ b/docs/markdown/snippets/option_dict.md
@@ -0,0 +1,5 @@
+## default_options and override_options may now be dictionaries
+
+Instead of passing them as `default_options : ['key=value']`, they can now be
+passed as `default_options : {'key': 'value'}`, and the same for
+`override_options`.