Skip to contentSkip to conversation

fix menuconfig help for choice menus

PATCH New Mitch Adair 1 participant 1 message Apr 8, 2003 Kconfig

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix menuconfig help for choice menus

Menuconfig currently doesn't show the help texts that go along with config options inside a choice menu. (A good example is the "Processor family" submenu - none of the per-processor help texts show up.)

The following patch fixes this - menuconfig now shows the help text for the config option under the cursor.

M

scripts/kconfig/mconf.c +2 -1
diff -urN linux-2.5.67/scripts/kconfig/mconf.c linux-2.5.67-mod/scripts/kconfig/mconf.c
@@ -627,7 +627,8 @@
 			sym_set_tristate_value(menu->sym, yes);
 			return;
 		case 1:
-			show_help(menu);
+			if (sscanf(input_buf, "%p", &child) == 1)
+				show_help(child);
 			break;
 		case 255:
 			return;
scripts/lxdialog/checklist.c +38 -26

80 lines not on this page · raw message