aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-12-06 11:30:06 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2017-12-07 21:31:50 +0200
commit3d63f21b60b5687f1ebe2a685a7ad205d61d3d6f (patch)
treea2998b92e213da384fef4dfb289cb275ae20cae9 /mesonbuild/mintro.py
parent5992ab1c721d82b90af0e26c7a907f196bcf8dd1 (diff)
downloadmeson-3d63f21b60b5687f1ebe2a685a7ad205d61d3d6f.zip
meson-3d63f21b60b5687f1ebe2a685a7ad205d61d3d6f.tar.gz
meson-3d63f21b60b5687f1ebe2a685a7ad205d61d3d6f.tar.bz2
Fix `array` type name
c9351ce30c03d107279090da7825096951a705d3 introduced the type as `array`, so mintro should expose it under the same name. (while at it, rename test 169 to be coherent)
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index efa26cf..b23869f 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -140,7 +140,7 @@ def add_keys(optlist, options):
optdict['choices'] = opt.choices
typestr = 'combo'
elif isinstance(opt, coredata.UserArrayOption):
- typestr = 'stringarray'
+ typestr = 'array'
else:
raise RuntimeError("Unknown option type")
optdict['type'] = typestr