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

Function conf_usage

scripts/config/conf.c:691–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected