# HG changeset patch # User Richard M. Stallman # Date 739823575 0 # Node ID edba0072c7ef7934c20dada646007b9fa54bd248 # Parent 65d530f613a8c2d3e3d766a3139bb78a9d31bc09 Reinstate old -f option as an alias for -o for installed base uses. diff -r 65d530f613a8 -r edba0072c7ef lib-src/etags.c --- 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;