From: Nick Clifton Date: Fri, 19 Jun 2009 15:05:23 +0000 (+0000) Subject: * ar.c (usage): Do not use #ifdef inside _("...). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d46fc8e83803954783e4791a975c78859b3d18de;p=binutils-gdb.git * ar.c (usage): Do not use #ifdef inside _("...). * nm.c (usage): Likewise. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ddacde192fa..086df79223e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2009-06-19 Nick Clifton + + * ar.c (usage): Do not use #ifdef inside _("...). + * nm.c (usage): Likewise. + 2009-06-18 Nick Clifton PR 10288 diff --git a/binutils/ar.c b/binutils/ar.c index 318cfe0cc38..4d6a32516a7 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -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\ - @ Read options from \n" + @ Read options from \n")); #if BFD_SUPPORTS_PLUGINS -" --plugin Load the specified plugin\n" + fprintf (s, _("\ + --plugin 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")); } diff --git a/binutils/nm.c b/binutils/nm.c index 51f67d14313..7ca691daa4c 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -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\