From 7eaab492be613f9f1aa93ae983d4d436331645a9 Mon Sep 17 00:00:00 2001 From: Nathanael Nerode Date: Sun, 13 Jul 2003 20:31:33 +0000 Subject: [PATCH] re PR other/11123 (Some option names are truncated in gcc --help -v) PR other/11123 * toplev.c: Don't cut off option names. From-SVN: r69303 --- gcc/ChangeLog | 5 +++++ gcc/toplev.c | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59dad2c76b6..bcb840c4448 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-13 Nathanael Nerode + + PR other/11123 + * toplev.c: Don't cut off option names. + 2003-07-13 Andreas Jaeger * c-decl.c (link_hash_hash): Avoid warning about casting pointer diff --git a/gcc/toplev.c b/gcc/toplev.c index da18f928854..adb4fffe042 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3818,7 +3818,7 @@ display_help (void) undoc = 1; if (extra_warnings) - printf (_(" %-23.23s [undocumented]\n"), option); + printf (_(" %-23s [undocumented]\n"), option); } else if (*description == 0) continue; @@ -3835,7 +3835,7 @@ display_help (void) lang = description; } else - printf (" %-23.23s %s\n", option, _(description)); + printf (" %-23s %s\n", option, _(description)); } } @@ -3883,10 +3883,10 @@ display_target_options (void) undoc = 1; if (extra_warnings) - printf (_(" -m%-23.23s [undocumented]\n"), option); + printf (_(" -m%-23s [undocumented]\n"), option); } else if (*description != 0) - doc += printf (" -m%-23.23s %s\n", option, _(description)); + doc += printf (" -m%-23s %s\n", option, _(description)); } #ifdef TARGET_OPTIONS @@ -3902,10 +3902,10 @@ display_target_options (void) undoc = 1; if (extra_warnings) - printf (_(" -m%-23.23s [undocumented]\n"), option); + printf (_(" -m%-23s [undocumented]\n"), option); } else if (*description != 0) - doc += printf (" -m%-23.23s %s\n", option, _(description)); + doc += printf (" -m%-23s %s\n", option, _(description)); } #endif if (undoc)