diff options
| author | Richard M. Stallman | 1993-06-11 18:32:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-11 18:32:55 +0000 |
| commit | 3ed79319610c39e805ce690eec970212ec27391f (patch) | |
| tree | 9c024ae8a55da1f84544e4c81efc22d698ac3d86 /lib-src | |
| parent | ec40ed9f4eba0701a74220b6f9a92b5352786072 (diff) | |
| download | emacs-3ed79319610c39e805ce690eec970212ec27391f.tar.gz emacs-3ed79319610c39e805ce690eec970212ec27391f.zip | |
Reinstate old -f option as an alias for -o for installed base uses.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 5 |
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) | |||
| 575 | for (;;) | 575 | for (;;) |
| 576 | { | 576 | { |
| 577 | int opt; | 577 | int opt; |
| 578 | opt = getopt_long (argc, argv, "aCdDo:StTi:BFuvxwVH", longopts, 0); | 578 | opt = getopt_long (argc, argv, "aCdDo:f:StTi:BFuvxwVH", longopts, 0); |
| 579 | 579 | ||
| 580 | if (opt == EOF) | 580 | if (opt == EOF) |
| 581 | break; | 581 | break; |
| @@ -600,11 +600,12 @@ main (argc, argv) | |||
| 600 | case 'D': | 600 | case 'D': |
| 601 | constantypedefs = 0; | 601 | constantypedefs = 0; |
| 602 | break; | 602 | break; |
| 603 | case 'f': | ||
| 603 | case 'o': | 604 | case 'o': |
| 604 | if (outfile) | 605 | if (outfile) |
| 605 | { | 606 | { |
| 606 | fprintf (stderr, | 607 | fprintf (stderr, |
| 607 | "%s: -o flag may only be given once\n", progname); | 608 | "%s: -%c flag may only be given once\n", progname, opt); |
| 608 | goto usage; | 609 | goto usage; |
| 609 | } | 610 | } |
| 610 | outfile = optarg; | 611 | outfile = optarg; |