diff --git a/tools/README.txt b/tools/README.txt index fc58914d32..c693f7135a 100644 --- a/tools/README.txt +++ b/tools/README.txt @@ -274,13 +274,17 @@ mksymtab.c, cvsparser.c, and cvsparser.h value (CSV) files. This tool is not used during the NuttX build, but can be used as needed to generate files. - USAGE: ./mksymtab + USAGE: ./mksymtab [-d] [ []] Where: - : The path to the input CSV file - : The path to the output symbol table file - -d : Enable debug output + : The path to the input CSV file (required) + : The path to the output symbol table file (required) + : Optional name for the symbol table variable + Default: "g_symtab" + : Optional name for the symbol table variable + Default: "g_nsymbols" + -d : Enable debug output Example: diff --git a/tools/mksymtab.c b/tools/mksymtab.c index c2e5abcd87..d482751a9d 100644 --- a/tools/mksymtab.c +++ b/tools/mksymtab.c @@ -71,7 +71,7 @@ static int nhdrfiles; static void show_usage(const char *progname) { - fprintf(stderr, "USAGE: %s [-d] [ []]\n\n", + fprintf(stderr, "USAGE: %s [-d] [ []]\n\n", progname); fprintf(stderr, "Where:\n\n"); fprintf(stderr, " : The path to the input CSV file (required)\n");