tools/README.txt: Update to show new usage of mksymtab.

This commit is contained in:
Gregory Nutt 2019-09-30 13:46:33 -06:00
parent 0671ced130
commit e8542c844c
2 changed files with 9 additions and 5 deletions

View file

@ -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 <cvs-file> <symtab-file>
USAGE: ./mksymtab [-d] <cvs-file> <symtab-file> [<symtab-name> [<nsymbols-name>]]
Where:
<cvs-file> : The path to the input CSV file
<symtab-file>: The path to the output symbol table file
-d : Enable debug output
<cvs-file> : The path to the input CSV file (required)
<symtab-file> : The path to the output symbol table file (required)
<symtab-name> : Optional name for the symbol table variable
Default: "g_symtab"
<nsymbols-name> : Optional name for the symbol table variable
Default: "g_nsymbols"
-d : Enable debug output
Example:

View file

@ -71,7 +71,7 @@ static int nhdrfiles;
static void show_usage(const char *progname)
{
fprintf(stderr, "USAGE: %s <cvs-file> [-d] <symtab-file> [<symtab-name> [<nsymbols-name>]]\n\n",
fprintf(stderr, "USAGE: %s [-d] <cvs-file> <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");