diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-11-10 00:59:29 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-11-10 00:59:29 +0200 |
commit | 7cbf703b4a872fd270e5284a2a70241870e95311 (patch) | |
tree | ffad9b85aa9108935f19e80cc81feb7fd7f8fece /optinterpreter.py | |
parent | 851526f8285de10addbcddc8ac50532158569bae (diff) | |
parent | c49da5aa00c1d3b0a89c51274786374ba80f46f9 (diff) | |
download | meson-7cbf703b4a872fd270e5284a2a70241870e95311.zip meson-7cbf703b4a872fd270e5284a2a70241870e95311.tar.gz meson-7cbf703b4a872fd270e5284a2a70241870e95311.tar.bz2 |
Merge pull request #278 from winksaville/enhance-mesonconfig-help
Enhance mesonconfig.py output
Diffstat (limited to 'optinterpreter.py')
-rw-r--r-- | optinterpreter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/optinterpreter.py b/optinterpreter.py index f106326..f111610 100644 --- a/optinterpreter.py +++ b/optinterpreter.py @@ -1,4 +1,4 @@ -# Copyright 2013-2015 The Meson development team +# Copyright 2013-2014 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ optname_regex = re.compile('[^a-zA-Z0-9_-]') def StringParser(name, description, kwargs): return coredata.UserStringOption(name, description, - kwargs.get('value', '')) + kwargs.get('value', ''), kwargs.get('choices', [])) def BooleanParser(name, description, kwargs): return coredata.UserBooleanOption(name, description, kwargs.get('value', True)) |