summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-06-11 18:32:55 +0000
committerRichard M. Stallman <rms@gnu.org>1993-06-11 18:32:55 +0000
commit3ed79319610c39e805ce690eec970212ec27391f (patch)
tree9c024ae8a55da1f84544e4c81efc22d698ac3d86 /lib-src
parentec40ed9f4eba0701a74220b6f9a92b5352786072 (diff)
downloademacs-3ed79319610c39e805ce690eec970212ec27391f.tar.gz
Reinstate old -f option as an alias for -o for installed base uses.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 5d0389f911f..d0ba72be5e6 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;