From a3610fab268493984408377b6d00b6f99bda1ab4 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 12 Sep 1999 16:35:20 +0000 Subject: [PATCH] 1999-09-12 Donn Terry * lexsup.c (parse_args): If we get an unrecognized argument, mention --help. --- ld/ChangeLog | 3 +++ ld/lexsup.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index ddd70feea..782029238 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -23,6 +23,9 @@ 1999-09-12 Donn Terry + * lexsup.c (parse_args): If we get an unrecognized argument, + mention --help. + * ldlang.c (section_already_linked): Use comdat information if it is available. diff --git a/ld/lexsup.c b/ld/lexsup.c index f8388acf8..273babac7 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -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, -- 2.11.4.GIT