summaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2003-04-01 23:09:29 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2003-04-01 23:09:29 +0000
commitfa45f8b503e00beaa4c6598d22fbcaceb4978055 (patch)
tree1bfe56893a2aa6d100d38c57a7cdc233e8ca4564 /binutils/windres.c
parent9b1b900f9852c9b6367ee675f5bed108923db43c (diff)
downloadbinutils-redhat-fa45f8b503e00beaa4c6598d22fbcaceb4978055.tar.gz
* windres.c (usage): Report -r option.
(main): Ignore the -r option. * doc/binutils.texi: Add -r to the list of options.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index 27cc0f0e48..224a744077 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -720,6 +720,7 @@ usage (stream, status)
--yydebug Turn on parser debugging\n"));
#endif
fprintf (stream, _("\
+ -r Ignored for compatibility with rc\n\
-h --help Print this help message\n\
-V --version Print version information\n"));
fprintf (stream, _("\
@@ -815,7 +816,7 @@ main (argc, argv)
language = 0x409; /* LANG_ENGLISH, SUBLANG_ENGLISH_US. */
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)
{
switch (c)
@@ -864,6 +865,10 @@ main (argc, argv)
}
break;
+ case 'r':
+ /* Ignored for compatibility with rc */
+ break;
+
case 'v':
verbose ++;
break;