aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-04-30 10:33:29 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-04-30 08:33:29 +0000
commit3f58b66d6b8b01328ca4b08f9da6910adbfad3ec (patch)
treed84ee617522b6af814d4ec3a369db31c47f8c917 /gcc/opts.c
parent8c3ce59e2b10ecc3cf7fe9804005405bedc3e280 (diff)
downloadgcc-3f58b66d6b8b01328ca4b08f9da6910adbfad3ec.zip
gcc-3f58b66d6b8b01328ca4b08f9da6910adbfad3ec.tar.gz
gcc-3f58b66d6b8b01328ca4b08f9da6910adbfad3ec.tar.bz2
Wrap a string with _ for translation (PR translation/90274).
2019-04-30 Martin Liska <mliska@suse.cz> PR translation/90274 * opts.c (print_filtered_help): Wrap string in _(...). From-SVN: r270675
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 02f6b46..6d6ff19 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1578,7 +1578,8 @@ 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");