History

kconfig: document the positional argument in the help message

The positional argument specifies the top-level Kconfig. Include this information in the help message.

Masahiro Yamada committed 2 years ago

Commit a49401b1 parent d6a91e21 file · +4 −1Browse files

Unified · Split

scripts/kconfig/conf.c+4−1
@@ -628,7 +628,7 @@ static const struct option long_opts[] = { · 627 unmodified lines
628 628
629static void conf_usage(const char *progname)629static void conf_usage(const char *progname)
630{630{
631 printf("Usage: %s [options] <kconfig-file>\n", progname);631 printf("Usage: %s [options] kconfig_file\n", progname);
632 printf("\n");632 printf("\n");
633 printf("Generic options:\n");633 printf("Generic options:\n");
634 printf(" -h, --help Print this message and exit.\n");634 printf(" -h, --help Print this message and exit.\n");
@@ -653,6 +653,9 @@ static void conf_usage(const char *progname) · 18 unmodified lines
653 printf(" --mod2yesconfig Change answers from mod to yes if possible\n");653 printf(" --mod2yesconfig Change answers from mod to yes if possible\n");
654 printf(" --mod2noconfig Change answers from mod to no if possible\n");654 printf(" --mod2noconfig Change answers from mod to no if possible\n");
655 printf(" (If none of the above is given, --oldaskconfig is the default)\n");655 printf(" (If none of the above is given, --oldaskconfig is the default)\n");
656 printf("\n");
657 printf("Arguments:\n");
658 printf(" kconfig_file Top-level Kconfig file.\n");
656}659}
657 660
658int main(int ac, char **av)661int main(int ac, char **av)