[PATCH] [GAS] RX: Remove unnecessary hyphens

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] [GAS] RX: Remove unnecessary hyphens

Yoshinori Sato
rx-elf-as --help said.
 RX specific command line options:
  --mbig-endian-data
  --mlittle-endian-data [default]
  --m32bit-doubles [default]
  --m64bit-doubles
  --muse-conventional-section-names
  --muse-renesas-section-names [default]
  --msmall-data-limit
  --mrelax
  --mpid
  --mint-register=<value>
  --mcpu=<rx100|rx200|rx600|rx610|rxv2|rxv3|rxv3-dfpu>
  --mno-allow-string-insns

But. all options required single hyphen "ex. -mbig-endian-data".
Hyphens should be one because they are misleading.

ChangeLog.
2020-01-14  Yoshinori Sato  <[hidden email]>

        * config/tc-rx.c (md_show_usage): Remove unnecessary hyphens.

---
 gas/config/tc-rx.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c
index b406e03b07..26490275db 100644
--- a/gas/config/tc-rx.c
+++ b/gas/config/tc-rx.c
@@ -208,18 +208,18 @@ void
 md_show_usage (FILE * stream)
 {
   fprintf (stream, _(" RX specific command line options:\n"));
-  fprintf (stream, _("  --mbig-endian-data\n"));
-  fprintf (stream, _("  --mlittle-endian-data [default]\n"));
-  fprintf (stream, _("  --m32bit-doubles [default]\n"));
-  fprintf (stream, _("  --m64bit-doubles\n"));
-  fprintf (stream, _("  --muse-conventional-section-names\n"));
-  fprintf (stream, _("  --muse-renesas-section-names [default]\n"));
-  fprintf (stream, _("  --msmall-data-limit\n"));
-  fprintf (stream, _("  --mrelax\n"));
-  fprintf (stream, _("  --mpid\n"));
-  fprintf (stream, _("  --mint-register=<value>\n"));
-  fprintf (stream, _("  --mcpu=<rx100|rx200|rx600|rx610|rxv2|rxv3|rxv3-dfpu>\n"));
-  fprintf (stream, _("  --mno-allow-string-insns"));
+  fprintf (stream, _("  -mbig-endian-data\n"));
+  fprintf (stream, _("  -mlittle-endian-data [default]\n"));
+  fprintf (stream, _("  -m32bit-doubles [default]\n"));
+  fprintf (stream, _("  -m64bit-doubles\n"));
+  fprintf (stream, _("  -muse-conventional-section-names\n"));
+  fprintf (stream, _("  -muse-renesas-section-names [default]\n"));
+  fprintf (stream, _("  -msmall-data-limit\n"));
+  fprintf (stream, _("  -mrelax\n"));
+  fprintf (stream, _("  -mpid\n"));
+  fprintf (stream, _("  -mint-register=<value>\n"));
+  fprintf (stream, _("  -mcpu=<rx100|rx200|rx600|rx610|rxv2|rxv3|rxv3-dfpu>\n"));
+  fprintf (stream, _("  -mno-allow-string-insns"));
 }
 
 static void
--
2.20.1