mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
tools/mksymtab.c: Fix a typo help introduced in last commit. Show default values.
This commit is contained in:
+9
-6
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user