1999-09-12 Donn Terry <donn@interix.com>

* lexsup.c (parse_args): If we get an unrecognized argument,
	mention --help.
This commit is contained in:
Ian Lance Taylor 1999-09-12 16:35:20 +00:00
parent 49147fca36
commit 03983865c3
2 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,9 @@
1999-09-12 Donn Terry <donn@interix.com>
* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.
* ldlang.c (section_already_linked): Use comdat information if it
is available.

View File

@ -516,6 +516,9 @@ parse_args (argc, argv)
switch (optc)
{
default:
fprintf (stderr,
_("%s: use the --help option for usage information\n"),
program_name);
xexit (1);
case 1: /* File name. */
lang_add_input_file (optarg, lang_input_file_is_file_enum,