This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

windres: -r


Hi Nick,

Hopefully this one is small enough to go in without the copyright
assignment thingy...

2003-04-01  Dimitrie O. Paun <dpaun at rogers dot com>

        * windres.c: Ignore -r for compatibility with rc.
	(main): Ignore the -r option.
	* doc/binutils.texi: Added -r to the list of options.


Index: windres.c
===================================================================
RCS file: /cvs/src/src/binutils/windres.c,v
retrieving revision 1.13
diff -u -r1.13 windres.c
--- windres.c	5 May 2002 23:25:27 -0000	1.13
+++ windres.c	1 Apr 2003 18:14:13 -0000
@@ -720,6 +720,7 @@
      --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 @@
   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)
@@ -862,6 +863,10 @@
 	      free (preprocargs);
 	      preprocargs = n;
 	    }
+	  break;
+
+	case 'r':
+	  /* Ignored for compatibility with rc */
 	  break;
 
 	case 'v':
Index: doc/binutils.texi
===================================================================
RCS file: /cvs/src/src/binutils/doc/binutils.texi,v
retrieving revision 1.32
diff -u -r1.32 binutils.texi
--- doc/binutils.texi	24 Mar 2003 16:11:46 -0000	1.32
+++ doc/binutils.texi	1 Apr 2003 18:14:19 -0000
@@ -2614,6 +2614,9 @@
 Specify a @option{-D} option to pass to the preprocessor when reading an
 @code{rc} file.
 
+ at 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.

-- 
Dimi.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]