summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 25a5a31..e5d0e74 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3175,6 +3175,11 @@ class Choice(Item, _HasVisibility):
files as of Linux 2.6.38-rc3."""
return self.name
+ def get_help(self):
+ """Returns the help text of the choice, or None if the choice has no
+ help text."""
+ return self.help
+
def get_type(self):
"""Returns the type of the choice. See Symbol.get_type()."""
return self.type