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 f38ddca..bf2d10c 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1744,6 +1744,11 @@ class Kconfig(object):
# Find first non-blank (not all-space) line and get its
# indentation
+ if node.help is not None:
+ self._warn("{} defined with more than one help text -- "
+ "only the last one will be used"
+ .format(_name_and_loc_str(node.item)))
+
# Small optimization. This code is pretty hot.
readline = self._file.readline