diff options
| -rw-r--r-- | kconfiglib.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 94b5cd4..7b91b6e 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1771,6 +1771,9 @@ class Kconfig(object): break if not line: + self._warn("{} has 'help' but empty help text" + .format(_name_and_loc_str(node.item))) + node.help = "" break @@ -1778,6 +1781,9 @@ class Kconfig(object): if indent == 0: # If the first non-empty lines has zero indent, there is no # help text + self._warn("{} has 'help' but empty help text" + .format(_name_and_loc_str(node.item))) + node.help = "" self._saved_line = line # "Unget" the line break |
