diff options
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; |