Add missing options and make the help message more readable.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -496,9 +496,13 @@ static struct option long_opts[] = { · 495 unmodified lines | ||
| 496 | 496 | |
| 497 | 497 | static void conf_usage(const char *progname) |
| 498 | 498 | { |
| 499 | − | |
| 500 | − printf("Usage: %s [-s] [option] <kconfig-file>\n", progname); | |
| 501 | − printf("[option] is _one_ of the following:\n"); | |
| 499 | + printf("Usage: %s [options] <kconfig-file>\n", progname); | |
| 500 | + printf("\n"); | |
| 501 | + printf("Generic options:\n"); | |
| 502 | + printf(" -h, --help Print this message and exit.\n"); | |
| 503 | + printf(" -s, --silent Do not print log.\n"); | |
| 504 | + printf("\n"); | |
| 505 | + printf("Mode options:\n"); | |
| 502 | 506 | printf(" --listnewconfig List new options\n"); |
| 503 | 507 | printf(" --helpnewconfig List new options and help text\n"); |
| 504 | 508 | printf(" --oldaskconfig Start a new configuration using a line-oriented program\n"); |