aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Build-options.md
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-06-05 08:33:36 -0700
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-06-29 10:56:25 +0000
commitf3a8f9c34d95d862fb4d12869a7b31cea592561f (patch)
treec6670c6aeee48e39874377104d945467366a8443 /docs/markdown/Build-options.md
parent14fe0985f7ac6cce317e355ae457e7cf5fbb8ee4 (diff)
downloadmeson-f3a8f9c34d95d862fb4d12869a7b31cea592561f.zip
meson-f3a8f9c34d95d862fb4d12869a7b31cea592561f.tar.gz
meson-f3a8f9c34d95d862fb4d12869a7b31cea592561f.tar.bz2
Options: treat array option -Dopt= and -Dopt=[] as equivalent
Currently the former will be parsed as [''], while the latter is parsed as [] in python. This makes for some obnoxious special handling depending on what the user passes. This is even more obnoxious since for string type arguments this doesn't require special handling.
Diffstat (limited to 'docs/markdown/Build-options.md')
-rw-r--r--docs/markdown/Build-options.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md
index 0093a1b..66c9cb5 100644
--- a/docs/markdown/Build-options.md
+++ b/docs/markdown/Build-options.md
@@ -61,6 +61,9 @@ empty. The `value` parameter specifies the default value of the option
and if it is unset then the values of `choices` will be used as the
default.
+As of 0.47.0 -Dopt= and -Dopt=[] both pass an empty list, before this -Dopt=
+would pass a list with an empty string.
+
This type is available since version 0.44.0
### Features