diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 16:35:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 16:35:20 +0000 |
commit | 03983865c36b444f34deb9c651537a9ddb59ed8b (patch) | |
tree | d3945d95e5ab154099469eb1253575bb43c105cb /ld/lexsup.c | |
parent | 49147fca36763ec648aea5b9bdbb270556146103 (diff) | |
download | gdb-03983865c36b444f34deb9c651537a9ddb59ed8b.zip gdb-03983865c36b444f34deb9c651537a9ddb59ed8b.tar.gz gdb-03983865c36b444f34deb9c651537a9ddb59ed8b.tar.bz2 |
1999-09-12 Donn Terry <donn@interix.com>
* lexsup.c (parse_args): If we get an unrecognized argument,
mention --help.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r-- | ld/lexsup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c index f8388ac..273baba 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, |