diff --git a/tools/mksymtab.c b/tools/mksymtab.c index a0e1c0d95b..c2e5abcd87 100644 --- a/tools/mksymtab.c +++ b/tools/mksymtab.c @@ -71,13 +71,16 @@ static int nhdrfiles; static void show_usage(const char *progname) { - fprintf(stderr, "USAGE: %s [ []]\n\n", progname); + fprintf(stderr, "USAGE: %s [-d] [ []]\n\n", + progname); fprintf(stderr, "Where:\n\n"); - fprintf(stderr, " : The path to the input CSV file (required)\n"); - fprintf(stderr, " : The path to the output symbol table file (required)\n"); - fprintf(stderr, " : Optional name for the symbol table variable\n"); - fprintf(stderr, " : Optional name for the symbol count variable\n"); - fprintf(stderr, " -d : Enable debug output\n"); + fprintf(stderr, " : The path to the input CSV file (required)\n"); + fprintf(stderr, " : The path to the output symbol table file (required)\n"); + fprintf(stderr, " : Optional name for the symbol table variable\n"); + fprintf(stderr, " Default: \"%s\"\n", SYMTAB_NAME); + fprintf(stderr, " : 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); }