summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Options/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Options/__init__.py')
-rw-r--r--src/engine/SCons/Options/__init__.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine/SCons/Options/__init__.py b/src/engine/SCons/Options/__init__.py
index 7333985..83798b3 100644
--- a/src/engine/SCons/Options/__init__.py
+++ b/src/engine/SCons/Options/__init__.py
@@ -76,6 +76,11 @@ class Options:
self.options.append(option)
+ def keys(self):
+ """
+ Returns the keywords for the options
+ """
+ return map(lambda o: o.key, self.options)
def Add(self, key, help="", default=None, validator=None, converter=None, **kw):
"""
@@ -100,7 +105,6 @@ class Options:
self._do_add(key, help, default, validator, converter)
-
def AddOptions(self, *optlist):
"""
Add a list of options.