diff options
Diffstat (limited to 'scripts/genksyms/genksyms.c')
-rw-r--r-- | scripts/genksyms/genksyms.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/genksyms/genksyms.c b/scripts/genksyms/genksyms.c index 511023b430a8..dca5e0dd09bf 100644 --- a/scripts/genksyms/genksyms.c +++ b/scripts/genksyms/genksyms.c | |||
@@ -440,17 +440,21 @@ void error_with_pos(const char *fmt, ...) | |||
440 | 440 | ||
441 | static void genksyms_usage(void) | 441 | static void genksyms_usage(void) |
442 | { | 442 | { |
443 | fputs("Usage:\n" "genksyms [-dDwqhV] > /path/to/.tmp_obj.ver\n" "\n" | 443 | fputs("Usage:\n" "genksyms [-adDTwqhV] > /path/to/.tmp_obj.ver\n" "\n" |
444 | #ifdef __GNU_LIBRARY__ | 444 | #ifdef __GNU_LIBRARY__ |
445 | " -a, --arch Select architecture\n" | ||
445 | " -d, --debug Increment the debug level (repeatable)\n" | 446 | " -d, --debug Increment the debug level (repeatable)\n" |
446 | " -D, --dump Dump expanded symbol defs (for debugging only)\n" | 447 | " -D, --dump Dump expanded symbol defs (for debugging only)\n" |
448 | " -T, --dump-types file Dump expanded types into file (for debugging only)\n" | ||
447 | " -w, --warnings Enable warnings\n" | 449 | " -w, --warnings Enable warnings\n" |
448 | " -q, --quiet Disable warnings (default)\n" | 450 | " -q, --quiet Disable warnings (default)\n" |
449 | " -h, --help Print this message\n" | 451 | " -h, --help Print this message\n" |
450 | " -V, --version Print the release version\n" | 452 | " -V, --version Print the release version\n" |
451 | #else /* __GNU_LIBRARY__ */ | 453 | #else /* __GNU_LIBRARY__ */ |
454 | " -a Select architecture\n" | ||
452 | " -d Increment the debug level (repeatable)\n" | 455 | " -d Increment the debug level (repeatable)\n" |
453 | " -D Dump expanded symbol defs (for debugging only)\n" | 456 | " -D Dump expanded symbol defs (for debugging only)\n" |
457 | " -T file Dump expanded types into file (for debugging only)\n" | ||
454 | " -w Enable warnings\n" | 458 | " -w Enable warnings\n" |
455 | " -q Disable warnings (default)\n" | 459 | " -q Disable warnings (default)\n" |
456 | " -h Print this message\n" | 460 | " -h Print this message\n" |
@@ -477,10 +481,10 @@ int main(int argc, char **argv) | |||
477 | {0, 0, 0, 0} | 481 | {0, 0, 0, 0} |
478 | }; | 482 | }; |
479 | 483 | ||
480 | while ((o = getopt_long(argc, argv, "a:dwqVDT:k:p:", | 484 | while ((o = getopt_long(argc, argv, "a:dwqVDT:h", |
481 | &long_opts[0], NULL)) != EOF) | 485 | &long_opts[0], NULL)) != EOF) |
482 | #else /* __GNU_LIBRARY__ */ | 486 | #else /* __GNU_LIBRARY__ */ |
483 | while ((o = getopt(argc, argv, "a:dwqVDT:k:p:")) != EOF) | 487 | while ((o = getopt(argc, argv, "a:dwqVDT:h")) != EOF) |
484 | #endif /* __GNU_LIBRARY__ */ | 488 | #endif /* __GNU_LIBRARY__ */ |
485 | switch (o) { | 489 | switch (o) { |
486 | case 'a': | 490 | case 'a': |