mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 08:03:41 +08:00
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:
parent
9d4a30f2c1
commit
7eaab492be
@ -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
|
||||
|
12
gcc/toplev.c
12
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)
|
||||
|
Loading…
Reference in New Issue
Block a user