tools/mksymtab.c: Fix a typo help introduced in last commit. Show default values.

This commit is contained in:
Gregory Nutt 2019-09-30 12:59:34 -06:00
parent ba51027449
commit 0671ced130

View File

@ -71,13 +71,16 @@ static int nhdrfiles;
static void show_usage(const char *progname)
{
fprintf(stderr, "USAGE: %s <cvs-file> <symtab-file> [<symtab-name> [<nsymbols-name>]]\n\n", progname);
fprintf(stderr, "USAGE: %s <cvs-file> [-d] <symtab-file> [<symtab-name> [<nsymbols-name>]]\n\n",
progname);
fprintf(stderr, "Where:\n\n");
fprintf(stderr, " <cvs-file> : The path to the input CSV file (required)\n");
fprintf(stderr, " <symtab-file> : The path to the output symbol table file (required)\n");
fprintf(stderr, " <symtab-name> : Optional name for the symbol table variable\n");
fprintf(stderr, " <nsymbols-name>: Optional name for the symbol count variable\n");
fprintf(stderr, " -d : Enable debug output\n");
fprintf(stderr, " <cvs-file> : The path to the input CSV file (required)\n");
fprintf(stderr, " <symtab-file> : The path to the output symbol table file (required)\n");
fprintf(stderr, " <symtab-name> : Optional name for the symbol table variable\n");
fprintf(stderr, " Default: \"%s\"\n", SYMTAB_NAME);
fprintf(stderr, " <nsymbols-name> : Optional name for the symbol table variable\n");
fprintf(stderr, " Default: \"%s\"\n", NSYMBOLS_NAME);
fprintf(stderr, " -d : Enable debug output\n");
exit(EXIT_FAILURE);
}