summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-11-21 05:36:40 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-11-21 05:36:40 +0100
commitee254891063a190c256f6f622311e622811d110b (patch)
treef38bb6e7719bf4321242b470cf105e805bcb65aa
parent80c8324e9946a08016dfd0ea2b2bf8adfc334c9b (diff)
menuconfig: Print '----' instead of '---> (empty)'
This matches the C tools and is a bit less spammy. Maybe it's less clear what it means at a glance, but it's probably less confusing for disabled 'menuconfig' symbols at least.
-rwxr-xr-xmenuconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/menuconfig.py b/menuconfig.py
index d34f7d8..80bfec2 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -2795,10 +2795,10 @@ def _node_str(node):
s += " ({})".format(node_.prompt[0])
# Print "--->" next to nodes that have menus that can potentially be
- # entered. Add "(empty)" if the menu is empty. We don't allow those to be
+ # entered. Print "----" if the menu is empty. We don't allow those to be
# entered.
if node.is_menuconfig:
- s += " --->" if _shown_nodes(node) else " ---> (empty)"
+ s += " --->" if _shown_nodes(node) else " ----"
return s