tools/README.txt: Update to show new usage of mksymtab.
This commit is contained in:
parent
0671ced130
commit
e8542c844c
2 changed files with 9 additions and 5 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue