Lines Matching +full:- +full:n

2  * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
54 printf("\n%s\n", str_get(&help)); in print_help()
70 p = str + l - 1; in strip()
72 *p-- = 0; in strip()
78 printf(_("aborted!\n\n")); in check_stdin()
80 printf(_("Run 'make oldconfig' to update configuration.\n\n")); in check_stdin()
92 line[0] = '\n'; in conf_askvalue()
96 printf("%s\n", def); in conf_askvalue()
97 line[0] = '\n'; in conf_askvalue()
106 printf("%s\n", def); in conf_askvalue()
115 printf("\n"); in conf_askvalue()
125 printf("%s\n", def); in conf_askvalue()
136 struct symbol *sym = menu->sym; in conf_string()
140 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
141 printf("(%s) ", sym->name); in conf_string()
148 case '\n': in conf_string()
152 if (line[1] == '\n') { in conf_string()
159 line[strlen(line)-1] = 0; in conf_string()
169 struct symbol *sym = menu->sym; in conf_sym()
173 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
174 if (sym->name) in conf_sym()
175 printf("(%s) ", sym->name); in conf_sym()
180 putchar('N'); in conf_sym()
190 printf("/n"); in conf_sym()
203 case 'n': in conf_sym()
204 case 'N': in conf_sym()
242 sym = menu->sym; in conf_choice()
260 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
270 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
274 for (child = menu->list; child; child = child->next) { in conf_choice()
277 if (!child->sym) { in conf_choice()
278 printf("%*c %s\n", indent, '*', _(menu_get_prompt(child))); in conf_choice()
282 if (child->sym == def_sym) { in conf_choice()
288 if (child->sym->name) in conf_choice()
289 printf(" (%s)", child->sym->name); in conf_choice()
290 if (!sym_has_value(child->sym)) in conf_choice()
292 printf("\n"); in conf_choice()
294 printf(_("%*schoice"), indent - 1, ""); in conf_choice()
296 printf("[1]: 1\n"); in conf_choice()
299 printf("[1-%d", cnt); in conf_choice()
308 printf("%d\n", cnt); in conf_choice()
333 for (child = menu->list; child; child = child->next) { in conf_choice()
334 if (!child->sym || !menu_is_visible(child)) in conf_choice()
336 if (!--cnt) in conf_choice()
341 if (line[0] && line[strlen(line) - 1] == '?') { in conf_choice()
345 sym_set_choice_value(sym, child->sym); in conf_choice()
346 for (child = child->list; child; child = child->next) { in conf_choice()
349 indent -= 2; in conf_choice()
364 sym = menu->sym; in conf()
365 prop = menu->prompt; in conf()
369 switch (prop->type) { in conf()
382 printf("%*c\n%*c %s\n%*c\n", in conf()
396 if (sym->curr.tri != mod) in conf()
401 switch (sym->type) { in conf()
415 for (child = menu->list; child; child = child->next) in conf()
418 indent -= 2; in conf()
429 sym = menu->sym; in check_conf()
434 if (sym->name && !sym_is_choice_value(sym)) { in check_conf()
435 printf("%s%s\n", CONFIG_, sym->name); in check_conf()
439 printf(_("*\n* Restart config...\n*\n")); in check_conf()
446 for (child = menu->list; child; child = child->next) in check_conf()
466 * value but not 'n') with the counter-intuitive name.
475 printf("Usage: %s [-s] [option] <kconfig-file>\n", progname); in conf_usage()
476 printf("[option] is _one_ of the following:\n"); in conf_usage()
477 printf(" --listnewconfig List new options\n"); in conf_usage()
478 printf(" --oldaskconfig Start a new configuration using a line-oriented program\n"); in conf_usage()
479 printf(" --oldconfig Update a configuration using a provided .config as base\n"); in conf_usage()
480 printf(" --silentoldconfig Same as oldconfig, but quietly, additionally update deps\n"); in conf_usage()
481 …printf(" --olddefconfig Same as silentoldconfig but sets new symbols to their default va… in conf_usage()
482 printf(" --oldnoconfig An alias of olddefconfig\n"); in conf_usage()
483 printf(" --defconfig <file> New config with default defined in <file>\n"); in conf_usage()
484 printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n"); in conf_usage()
485 printf(" --allnoconfig New config where all options are answered with no\n"); in conf_usage()
486 printf(" --allyesconfig New config where all options are answered with yes\n"); in conf_usage()
487 printf(" --allmodconfig New config where all options are answered with mod\n"); in conf_usage()
488 printf(" --alldefconfig New config with all symbols set to default\n"); in conf_usage()
489 printf(" --randconfig New config with random answer to all options\n"); in conf_usage()
505 while ((opt = getopt_long(ac, av, "s", long_opts, NULL)) != -1) { in main()
540 fprintf( stderr, "KCONFIG_SEED=0x%X\n", seed ); in main()
560 printf(_("%s: Kconfig file missing\n"), av[0]); in main()
570 fprintf(stderr, _("***\n" in main()
571 "*** Configuration file \"%s\" not found!\n" in main()
572 "***\n" in main()
573 "*** Please run some configurator (e.g. \"make oldconfig\" or\n" in main()
574 "*** \"make menuconfig\" or \"make xconfig\").\n" in main()
575 "***\n"), name); in main()
585 printf(_("***\n" in main()
586 "*** Can't find default configuration \"%s\"!\n" in main()
587 "***\n"), defconfig_file); in main()
610 _("*** Can't read seed configuration \"%s\"!\n"), in main()
627 _("*** KCONFIG_ALLCONFIG set, but no \"%s\" or \"all.config\" file found\n"), in main()
641 _("\n*** The configuration requires explicit update.\n\n")); in main()
694 fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); in main()
698 fprintf(stderr, _("\n*** Error during update of the configuration.\n\n")); in main()
703 fprintf(stderr, _("n*** Error while saving defconfig to: %s\n\n"), in main()
709 fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); in main()
722 fprintf(stderr, "\nError in reading or end of file.\n"); in xfgets()