summaryrefslogtreecommitdiff
path: root/menuconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-10-10 15:10:32 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-10-10 15:10:32 +0200
commit256e5b3e38e928df0c66cec6f76cbc9f2cd3f46a (patch)
tree6e689d0d26b05fae7a908adabcf0b51a3057f528 /menuconfig.py
parenta247f3f5815f42e8f1b616e311d38f41587cef64 (diff)
menuconfig: Comment formatting nits
Diffstat (limited to 'menuconfig.py')
-rwxr-xr-xmenuconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/menuconfig.py b/menuconfig.py
index d5cac8f..b3b240c 100755
--- a/menuconfig.py
+++ b/menuconfig.py
@@ -1192,7 +1192,7 @@ def _draw_main():
while menu is not _kconf.top_node:
# Promptless choices can be entered in show-all mode. Use
# standard_sc_expr_str() for them, so they show up as
- # <choice (name if any)>.
+ # '<choice (name if any)>'.
menu_prompts.append(menu.prompt[0] if menu.prompt else
standard_sc_expr_str(menu.item))
menu = _parent_menu(menu)
@@ -2495,7 +2495,7 @@ def _menu_path_info(node):
while node is not _kconf.top_node:
# Promptless choices might appear among the parents. Use
# standard_sc_expr_str() for them, so that they show up as
- # <choice (name if any)>.
+ # '<choice (name if any)>'.
path = " -> " + (node.prompt[0] if node.prompt else
standard_sc_expr_str(node.item)) + path
node = _parent_menu(node)
@@ -2658,7 +2658,7 @@ def _node_str(node):
s += " <{}>".format(node.item.name)
else:
# For choices, use standard_sc_expr_str(). That way they show up as
- # <choice (name if any)>.
+ # '<choice (name if any)>'.
s += " " + standard_sc_expr_str(node.item)
if node.prompt: