The positional argument specifies the top-level Kconfig. Include this information in the help message.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -628,7 +628,7 @@ static const struct option long_opts[] = { · 627 unmodified lines | ||
| 628 | 628 | |
| 629 | 629 | static 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 | 632 | printf("\n"); |
| 633 | 633 | printf("Generic options:\n"); |
| 634 | 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 | 653 | printf(" --mod2yesconfig Change answers from mod to yes if possible\n"); |
| 654 | 654 | printf(" --mod2noconfig Change answers from mod to no if possible\n"); |
| 655 | 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 | |
| 658 | 661 | int main(int ac, char **av) |