https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90274

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-04-29
                 CC|                            |marxin at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot 
gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm that _(..) is missing. However option names are not wrapped in
--help=* output.

Patch candidate:
diff --git a/gcc/opts.c b/gcc/opts.c
index 02f6b4656e1..3b40d15722a 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1578,7 +1578,7 @@ print_filtered_help (unsigned int include_flags,
   for (unsigned i = 0; i < help_tuples.length (); i++)
     {
       const struct cl_option *option = cl_options + help_tuples[i].m_code;
-      printf ("  Known valid arguments for %s option:\n   ",
option->opt_text);
+      printf (_("  Known valid arguments for %s option:\n   "),
option->opt_text);
       for (unsigned j = 0; j < help_tuples[i].m_values.length (); j++)
        printf (" %s", help_tuples[i].m_values[j]);
       printf ("\n\n");

Reply via email to