aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/optinterpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-12-05 00:13:27 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-12-07 00:00:34 +0200
commit4ae0cadb7f951691e2913a660a61d024d04b5485 (patch)
tree2a4d6846ae3f90ebb398bd467f20d9c81f988eed /mesonbuild/optinterpreter.py
parentc2d23dd6789441f7972ded003d77c0bda3fb121b (diff)
downloadmeson-4ae0cadb7f951691e2913a660a61d024d04b5485.zip
meson-4ae0cadb7f951691e2913a660a61d024d04b5485.tar.gz
meson-4ae0cadb7f951691e2913a660a61d024d04b5485.tar.bz2
Renamed UserStringArrayOption to UserArrayOption for short.
Diffstat (limited to 'mesonbuild/optinterpreter.py')
-rw-r--r--mesonbuild/optinterpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/optinterpreter.py b/mesonbuild/optinterpreter.py
index 3cca239..f8ccbe6 100644
--- a/mesonbuild/optinterpreter.py
+++ b/mesonbuild/optinterpreter.py
@@ -99,7 +99,7 @@ def string_array_parser(name, description, kwargs):
value = kwargs.get('value', [])
if not isinstance(value, list):
raise OptionException('Array choices must be passed as an array.')
- return coredata.UserStringArrayOption(name, description, value, choices=choices)
+ return coredata.UserArrayOption(name, description, value, choices=choices)
option_types = {'string': StringParser,
'boolean': BooleanParser,