From 3ed79319610c39e805ce690eec970212ec27391f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 11 Jun 1993 18:32:55 +0000 Subject: [PATCH] Reinstate old -f option as an alias for -o for installed base uses. --- lib-src/etags.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 5d0389f911..d0ba72be5e 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -575,7 +575,7 @@ main (argc, argv) 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 @@ main (argc, argv) 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; -- 2.20.1