changeset 3662:edba0072c7ef

Reinstate old -f option as an alias for -o for installed base uses.
author Richard M. Stallman <rms@gnu.org>
date Fri, 11 Jun 1993 18:32:55 +0000
parents 65d530f613a8
children 25743b083fe8
files lib-src/etags.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Fri Jun 11 18:28:44 1993 +0000
+++ b/lib-src/etags.c	Fri Jun 11 18:32:55 1993 +0000
@@ -575,7 +575,7 @@
   for (;;)
     {
       int opt;
-      opt = getopt_long (argc, argv, "aCdDo:StTi:BFuvxwVH", longopts, 0);
+      opt = getopt_long (argc, argv, "aCdDo:f:StTi:BFuvxwVH", longopts, 0);
 
       if (opt == EOF)
 	break;
@@ -600,11 +600,12 @@
 	case 'D':
 	  constantypedefs = 0;
 	  break;
+	case 'f':
 	case 'o':
 	  if (outfile)
 	    {
 	      fprintf (stderr,
-		       "%s: -o flag may only be given once\n", progname);
+		       "%s: -%c flag may only be given once\n", progname, opt);
 	      goto usage;
 	    }
 	  outfile = optarg;