* ar.c (usage): Do not use #ifdef inside _("...).

* nm.c (usage): Likewise.
This commit is contained in:
Nick Clifton 2009-06-19 15:05:23 +00:00
parent 8e54f21078
commit d46fc8e838
3 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2009-06-19 Nick Clifton <nickc@redhat.com>
* ar.c (usage): Do not use #ifdef inside _("...).
* nm.c (usage): Likewise.
2009-06-18 Nick Clifton <nickc@redhat.com>
PR 10288

View File

@ -278,11 +278,13 @@ usage (int help)
fprintf (s, _("Usage: %s [options] archive\n"), program_name);
fprintf (s, _(" Generate an index to speed access to archives\n"));
fprintf (s, _(" The options are:\n\
@<file> Read options from <file>\n"
@<file> Read options from <file>\n"));
#if BFD_SUPPORTS_PLUGINS
" --plugin <name> Load the specified plugin\n"
fprintf (s, _("\
--plugin <name> Load the specified plugin\n"));
#endif
" -t Update the archive's symbol map timestamp\n\
fprintf (s, _("\
-t Update the archive's symbol map timestamp\n\
-h --help Print this help message\n\
-v --version Print version information\n"));
}

View File

@ -240,11 +240,13 @@ usage (FILE *stream, int status)
-o Same as -A\n\
-p, --no-sort Do not sort the symbols\n\
-P, --portability Same as --format=posix\n\
-r, --reverse-sort Reverse the sense of the sort\n"
-r, --reverse-sort Reverse the sense of the sort\n"));
#if BFD_SUPPORTS_PLUGINS
" --plugin NAME Load the specified plugin\n"
fprintf (stream, _("\
--plugin NAME Load the specified plugin\n"));
#endif
" -S, --print-size Print size of defined symbols\n\
fprintf (stream, _("\
-S, --print-size Print size of defined symbols\n \
-s, --print-armap Include index for symbols from archive members\n\
--size-sort Sort symbols by size\n\
--special-syms Include special symbols in the output\n\