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
This commit is contained in:
Nathanael Nerode 2003-07-13 20:31:33 +00:00
parent 9d4a30f2c1
commit 7eaab492be
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
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>
* c-decl.c (link_hash_hash): Avoid warning about casting pointer

View File

@ -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)