Skip to contentSkip to conversation

Kconfig help text inaccessible

PATCH New Matthew Wilcox 1 participant 1 message Dec 18, 2003 Kconfig

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig help text inaccessible

This patch enables Kconfig help texts for string options to be printed by the command line configuration program

scripts/kconfig/conf.c +1 -1
@@ -175,7 +175,7 @@ int conf_string(struct menu *menu)
 			break;
 		case '?':
 			/* print help */
-			if (line[1] == 0) {
+			if (line[1] == '\n') {
 				help = nohelp_text;
 				if (menu->sym->help)
 					help = menu->sym->help;
Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain