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

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/conf.c+4−1
@@ -628,7 +628,7 @@ static const struct option long_opts[] = { · 627 unmodified lines
628628
629629 static void conf_usage(const char *progname)
630630 {
631− printf("Usage: %s [options] <kconfig-file>\n", progname);
631+ printf("Usage: %s [options] kconfig_file\n", progname);
632632 printf("\n");
633633 printf("Generic options:\n");
634634 printf(" -h, --help Print this message and exit.\n");
@@ -653,6 +653,9 @@ static void conf_usage(const char *progname) · 18 unmodified lines
653653 printf(" --mod2yesconfig Change answers from mod to yes if possible\n");
654654 printf(" --mod2noconfig Change answers from mod to no if possible\n");
655655 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");
656659 }
657660
658661 int main(int ac, char **av)