Commit ee4c6f00 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: add help messages for --help (-h) and --silent (-s)

Add missing options and make the help message more readable.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent bafc4791
......@@ -496,9 +496,13 @@ static struct option long_opts[] = {
static void conf_usage(const char *progname)
{
printf("Usage: %s [-s] [option] <kconfig-file>\n", progname);
printf("[option] is _one_ of the following:\n");
printf("Usage: %s [options] <kconfig-file>\n", progname);
printf("\n");
printf("Generic options:\n");
printf(" -h, --help Print this message and exit.\n");
printf(" -s, --silent Do not print log.\n");
printf("\n");
printf("Mode options:\n");
printf(" --listnewconfig List new options\n");
printf(" --helpnewconfig List new options and help text\n");
printf(" --oldaskconfig Start a new configuration using a line-oriented program\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment