aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
commit3126d709ed5e83594442a550b66e1488e7657b0e (patch)
tree17f3a90a1a2d46b94ac4b0180a98bddff67bb2ce /binutils
parent270cb5d6bde5771e46c8bca0c9837ccbd85bef34 (diff)
downloadgdb-3126d709ed5e83594442a550b66e1488e7657b0e.zip
gdb-3126d709ed5e83594442a550b66e1488e7657b0e.tar.gz
gdb-3126d709ed5e83594442a550b66e1488e7657b0e.tar.bz2
* 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')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/doc/binutils.texi3
-rw-r--r--binutils/windres.c7
3 files changed, 15 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 14fac01..5e436a4 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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>
* MAINTAINERS: Add myself as Xtensa maintainer.
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 4afcb6d4..8807eb0 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -2614,6 +2614,9 @@ files named in the @code{rc} file.
Specify a @option{-D} option to pass to the preprocessor when reading an
@code{rc} file.
+@item -r
+Ignored for compatibility with rc.
+
@item -v
Enable verbose mode. This tells you what the preprocessor is if you
didn't specify one.
diff --git a/binutils/windres.c b/binutils/windres.c
index 27cc0f0..224a744 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;