MCPcopy Create free account
hub / github.com/coreboot/coreboot / conf_usage

Function conf_usage

util/kconfig/conf.c:689–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687};
688
689static void conf_usage(const char *progname)
690{
691 printf("Usage: %s [options] <kconfig-file>\n", progname);
692 printf("\n");
693 printf("Generic options:\n");
694 printf(" -h, --help Print this message and exit.\n");
695 printf(" -s, --silent Do not print log.\n");
696 printf("\n");
697 printf("Mode options:\n");
698 printf(" --listnewconfig List new options\n");
699 printf(" --helpnewconfig List new options and help text\n");
700 printf(" --oldaskconfig Start a new configuration using a line-oriented program\n");
701 printf(" --oldconfig Update a configuration using a provided .config as base\n");
702 printf(" --syncconfig Similar to oldconfig but generates configuration in\n"
703 " include/{generated/,config/}\n");
704 printf(" --olddefconfig Same as oldconfig but sets new symbols to their default value\n");
705 printf(" --defconfig <file> New config with default defined in <file>\n");
706 printf(" --savedefconfig <file> Save the minimal current configuration to <file>\n");
707 printf(" --allnoconfig New config where all options are answered with no\n");
708 printf(" --allyesconfig New config where all options are answered with yes\n");
709 printf(" --allmodconfig New config where all options are answered with mod\n");
710 printf(" --alldefconfig New config with all symbols set to default\n");
711 printf(" --randconfig New config with random answer to all options\n");
712 printf(" --yes2modconfig Change answers from yes to mod if possible\n");
713 printf(" --mod2yesconfig Change answers from mod to yes if possible\n");
714 printf(" --mod2noconfig Change answers from mod to no if possible\n");
715 printf(" (If none of the above is given, --oldaskconfig is the default)\n");
716}
717
718int main(int ac, char **av)
719{

Callers 1

mainFunction · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected