diff options
author | Nick Clifton <nickc@redhat.com> | 2009-06-19 15:05:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-06-19 15:05:23 +0000 |
commit | b685715bd70fc6717c0eb00f0c4c393a2b4278ab (patch) | |
tree | 79fe56698ca909cf819cc324ae3a0b544c85f348 | |
parent | bf96a92b1725690b61f498791283a0ec55fed5d5 (diff) | |
download | binutils-redhat-b685715bd70fc6717c0eb00f0c4c393a2b4278ab.tar.gz |
* ar.c (usage): Do not use #ifdef inside _("...).
* nm.c (usage): Likewise.
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/ar.c | 8 | ||||
-rw-r--r-- | binutils/nm.c | 8 |
3 files changed, 15 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ddacde192f..086df79223 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/ar.c b/binutils/ar.c index 318cfe0cc3..4d6a32516a 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\ - @<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")); } diff --git a/binutils/nm.c b/binutils/nm.c index 51f67d1431..7ca691daa4 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\ |