diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-10 15:10:32 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-10 15:10:32 +0200 |
| commit | 256e5b3e38e928df0c66cec6f76cbc9f2cd3f46a (patch) | |
| tree | 6e689d0d26b05fae7a908adabcf0b51a3057f528 | |
| parent | a247f3f5815f42e8f1b616e311d38f41587cef64 (diff) | |
menuconfig: Comment formatting nits
| -rwxr-xr-x | menuconfig.py | 6 |
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: |
