* windres.c (usage): Report -r option.

(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.
This commit is contained in:
Christopher Faylor 2003-04-01 23:09:29 +00:00
parent 270cb5d6bd
commit 3126d709ed
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-04-01 Dimitrie O. Paun <dpaun@rogers.com>
* windres.c (usage): Report -r option.
(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.
2003-04-01 Bob Wilson <bob.wilson@acm.org> 2003-04-01 Bob Wilson <bob.wilson@acm.org>
* MAINTAINERS: Add myself as Xtensa maintainer. * MAINTAINERS: Add myself as Xtensa maintainer.

View File

@ -2614,6 +2614,9 @@ files named in the @code{rc} file.
Specify a @option{-D} option to pass to the preprocessor when reading an Specify a @option{-D} option to pass to the preprocessor when reading an
@code{rc} file. @code{rc} file.
@item -r
Ignored for compatibility with rc.
@item -v @item -v
Enable verbose mode. This tells you what the preprocessor is if you Enable verbose mode. This tells you what the preprocessor is if you
didn't specify one. didn't specify one.

View File

@ -720,6 +720,7 @@ usage (stream, status)
--yydebug Turn on parser debugging\n")); --yydebug Turn on parser debugging\n"));
#endif #endif
fprintf (stream, _("\ fprintf (stream, _("\
-r Ignored for compatibility with rc\n\
-h --help Print this help message\n\ -h --help Print this help message\n\
-V --version Print version information\n")); -V --version Print version information\n"));
fprintf (stream, _("\ fprintf (stream, _("\
@ -815,7 +816,7 @@ main (argc, argv)
language = 0x409; /* LANG_ENGLISH, SUBLANG_ENGLISH_US. */ language = 0x409; /* LANG_ENGLISH, SUBLANG_ENGLISH_US. */
use_temp_file = 0; use_temp_file = 0;
while ((c = getopt_long (argc, argv, "i:o:I:O:F:D:hHvV", long_options, while ((c = getopt_long (argc, argv, "i:o:I:O:F:D:rhHvV", long_options,
(int *) 0)) != EOF) (int *) 0)) != EOF)
{ {
switch (c) switch (c)
@ -864,6 +865,10 @@ main (argc, argv)
} }
break; break;
case 'r':
/* Ignored for compatibility with rc */
break;
case 'v': case 'v':
verbose ++; verbose ++;
break; break;