diff mbox

nconfig: Fix help for choice menus

Message ID 1284107570-17124-1-git-send-email-bebarino@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Stephen Boyd Sept. 10, 2010, 8:32 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index 2ba71bc..19d3401 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -1252,6 +1252,8 @@  static void show_help(struct menu *menu)
 			str_append(&help, _(menu_get_help(menu)));
 			str_append(&help, "\n");
 			get_symbol_str(&help, menu->sym);
+		} else {
+			str_append(&help, _(menu_get_help(menu)));
 		}
 	} else {
 		str_append(&help, nohelp_text);