Commit 7eaab492 by Nathanael Nerode

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
parent 9d4a30f2
2003-07-13 Nathanael Nerode <neroden@gcc.gnu.org>
PR other/11123
* toplev.c: Don't cut off option names.
2003-07-13 Andreas Jaeger <aj@suse.de> 2003-07-13 Andreas Jaeger <aj@suse.de>
* c-decl.c (link_hash_hash): Avoid warning about casting pointer * c-decl.c (link_hash_hash): Avoid warning about casting pointer
......
...@@ -3818,7 +3818,7 @@ display_help (void) ...@@ -3818,7 +3818,7 @@ display_help (void)
undoc = 1; undoc = 1;
if (extra_warnings) if (extra_warnings)
printf (_(" %-23.23s [undocumented]\n"), option); printf (_(" %-23s [undocumented]\n"), option);
} }
else if (*description == 0) else if (*description == 0)
continue; continue;
...@@ -3835,7 +3835,7 @@ display_help (void) ...@@ -3835,7 +3835,7 @@ display_help (void)
lang = description; lang = description;
} }
else else
printf (" %-23.23s %s\n", option, _(description)); printf (" %-23s %s\n", option, _(description));
} }
} }
...@@ -3883,10 +3883,10 @@ display_target_options (void) ...@@ -3883,10 +3883,10 @@ display_target_options (void)
undoc = 1; undoc = 1;
if (extra_warnings) if (extra_warnings)
printf (_(" -m%-23.23s [undocumented]\n"), option); printf (_(" -m%-23s [undocumented]\n"), option);
} }
else if (*description != 0) else if (*description != 0)
doc += printf (" -m%-23.23s %s\n", option, _(description)); doc += printf (" -m%-23s %s\n", option, _(description));
} }
#ifdef TARGET_OPTIONS #ifdef TARGET_OPTIONS
...@@ -3902,10 +3902,10 @@ display_target_options (void) ...@@ -3902,10 +3902,10 @@ display_target_options (void)
undoc = 1; undoc = 1;
if (extra_warnings) if (extra_warnings)
printf (_(" -m%-23.23s [undocumented]\n"), option); printf (_(" -m%-23s [undocumented]\n"), option);
} }
else if (*description != 0) else if (*description != 0)
doc += printf (" -m%-23.23s %s\n", option, _(description)); doc += printf (" -m%-23s %s\n", option, _(description));
} }
#endif #endif
if (undoc) if (undoc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment