Re: [PATCH] Typo in 'ar' help

2015-01-10 Thread Andreas Schwab
Ben Boeckel maths...@gmail.com writes:

 Attached is a patch for the 'ar' help of the '-M' option text
 '[mri-script]' which adds the closing angle bracket.

That's not a typo.  The script is expected on stdin.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: [PATCH] Typo in 'ar' help

2015-01-10 Thread Ben Boeckel
On Sat, Jan 10, 2015 at 10:16:57 +0100, Andreas Schwab wrote:
 That's not a typo.  The script is expected on stdin.

Ah. Then es.po's translation for it has a one already that should be
removed. Would using [ mri-script] instead to make it more clear be
better?

Thanks,

--Ben

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[PATCH] Typo in 'ar' help

2015-01-09 Thread Ben Boeckel
Hi,

Attached is a patch for the 'ar' help of the '-M' option text
'[mri-script]' which adds the closing angle bracket. I also updated the
translations, but the encoding may have been mangled in some, so those
hunks might be worth dropping and putting through the translation
system, but git says only close angle brackets were added.

Thanks,

--Ben
From f918a6dfccbb2f01b1bc83b84be7484d450adb3c Mon Sep 17 00:00:00 2001
From: Ben Boeckel maths...@gmail.com
Date: Fri, 9 Jan 2015 16:35:57 -0500
Subject: [PATCH] ar: fix mri-script argument help

---
 binutils/ar.c  | 2 +-
 binutils/doc/binutils.texi | 2 +-
 binutils/po/bg.po  | 4 ++--
 binutils/po/binutils.pot   | 2 +-
 binutils/po/da.po  | 4 ++--
 binutils/po/es.po  | 2 +-
 binutils/po/fi.po  | 4 ++--
 binutils/po/fr.po  | 4 ++--
 binutils/po/hr.po  | 2 +-
 binutils/po/id.po  | 4 ++--
 binutils/po/it.po  | 4 ++--
 binutils/po/ja.po  | 4 ++--
 binutils/po/ro.po  | 2 +-
 binutils/po/ru.po  | 4 ++--
 binutils/po/rw.po  | 2 +-
 binutils/po/sk.po  | 4 ++--
 binutils/po/sr.po  | 4 ++--
 binutils/po/sv.po  | 4 ++--
 binutils/po/tr.po  | 4 ++--
 binutils/po/uk.po  | 4 ++--
 binutils/po/vi.po  | 4 ++--
 binutils/po/zh_CN.po   | 4 ++--
 binutils/po/zh_TW.po   | 4 ++--
 23 files changed, 39 insertions(+), 39 deletions(-)

diff --git a/binutils/ar.c b/binutils/ar.c
index 48a052c..2ff0ead 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -282,7 +282,7 @@ usage (int help)
   fprintf (s, command_line, program_name);
 
   /* xgettext:c-format */
-  fprintf (s, _(   %s -M [mri-script]\n), program_name);
+  fprintf (s, _(   %s -M [mri-script]\n), program_name);
   fprintf (s, _( commands:\n));
   fprintf (s, _(  d- delete file(s) from the archive\n));
   fprintf (s, _(  m[ab]- move file(s) in the archive\n));
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index a5bfd4c..6f65731 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -175,7 +175,7 @@ in the section entitled ``GNU Free Documentation License''.
 
 @smallexample
 ar [-]@var{p}[@var{mod}] [@option{--plugin} @var{name}] [@option{--target} 
@var{bfdname}] [@var{relpos}] [@var{count}] @var{archive} [@var{member}@dots{}]
-ar -M [ mri-script ]
+ar -M [ mri-script ]
 @end smallexample
 
 @c man begin DESCRIPTION ar
diff --git a/binutils/po/bg.po b/binutils/po/bg.po
index a260f98..2a12c1d 100644
--- a/binutils/po/bg.po
+++ b/binutils/po/bg.po
@@ -125,8 +125,8 @@ msgstr Употреба: %s [опции за подражаване] [-]{dmpqrs
 
 #: ar.c:281
 #, c-format
-msgid%s -M [mri-script]\n
-msgstr%s -M [mri-скрипт]\n
+msgid%s -M [mri-script]\n
+msgstr%s -M [mri-скрипт]\n
 
 #: ar.c:282
 #, c-format
diff --git a/binutils/po/binutils.pot b/binutils/po/binutils.pot
index 84551c5..aef2e99 100644
--- a/binutils/po/binutils.pot
+++ b/binutils/po/binutils.pot
@@ -118,7 +118,7 @@ msgstr 
 
 #: ar.c:281
 #, c-format
-msgid%s -M [mri-script]\n
+msgid%s -M [mri-script]\n
 msgstr 
 
 #: ar.c:282
diff --git a/binutils/po/da.po b/binutils/po/da.po
index a4414b1..04c37ec 100644
--- a/binutils/po/da.po
+++ b/binutils/po/da.po
@@ -103,8 +103,8 @@ msgstr 
 
 #: ar.c:240
 #, c-format
-msgid%s -M [mri-script]\n
-msgstr%s -M [mri-skript]\n
+msgid%s -M [mri-script]\n
+msgstr%s -M [mri-skript]\n
 
 #: ar.c:241
 #, c-format
diff --git a/binutils/po/es.po b/binutils/po/es.po
index 30cff39..2f3d19b 100644
--- a/binutils/po/es.po
+++ b/binutils/po/es.po
@@ -126,7 +126,7 @@ msgstr Modo de empleo: %s [opciones emulación] 
[-]{dmpqrstx}[abcDfilMNoPsSTuvV
 
 #: ar.c:266
 #, c-format
-msgid%s -M [mri-script]\n
+msgid%s -M [mri-script]\n
 msgstr%s -M [guión-mri]\n
 
 #: ar.c:267
diff --git a/binutils/po/fi.po b/binutils/po/fi.po
index 0b87f76..38517d7 100644
--- a/binutils/po/fi.po
+++ b/binutils/po/fi.po
@@ -133,8 +133,8 @@ msgstr Käyttö: %s [emulointivalitsimet] 
[-]{dmpqrstx}[abcDfilMNoPsSTuvV] [jä
 
 #: ar.c:281
 #, c-format
-msgid%s -M [mri-script]\n
-msgstr%s -M [mri-skripti]\n
+msgid%s -M [mri-script]\n
+msgstr%s -M [mri-skripti]\n
 
 #: ar.c:282
 #, c-format
diff --git a/binutils/po/fr.po b/binutils/po/fr.po
index 7cf4525..3ffd402 100644
--- a/binutils/po/fr.po
+++ b/binutils/po/fr.po
@@ -127,8 +127,8 @@ msgstr Usage: %s [options d'émulation] 
[-]{dmpqrstx}[abcDfilMNoPsSTuvV] [nom-d
 
 #: ar.c:281
 #, c-format
-msgid%s -M [mri-script]\n
-msgstr%s -M [script-mri]\n
+msgid%s -M [mri-script]\n
+msgstr%s -M [script-mri]\n
 
 #: ar.c:282
 #, c-format
diff --git a/binutils/po/hr.po b/binutils/po/hr.po
index 24ede16..6260463 100644
--- a/binutils/po/hr.po
+++ b/binutils/po/hr.po
@@ -127,7 +127,7 @@ msgstr 
 
 #: ar.c:266
 #, c-format
-msgid%s -M [mri-script]\n
+msgid