aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorFrancesco Potortì1994-04-18 17:07:19 +0000
committerFrancesco Potortì1994-04-18 17:07:19 +0000
commit3ad2882cd3eb959f48938217514ac491301d206a (patch)
treead84ba128825d236f5d3eaff4559da4949e8060d /lib-src
parent1875d994439974e29f0005b68167a6a991aa1564 (diff)
downloademacs-3ad2882cd3eb959f48938217514ac491301d206a.tar.gz
emacs-3ad2882cd3eb959f48938217514ac491301d206a.zip
* etags.c (main, print_help): eliminate the -F option.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 066e430ebc4..d05b35e8d2e 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -28,7 +28,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
28 * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer. 28 * Francesco Potorti` (pot@cnuce.cnr.it) is the current maintainer.
29 */ 29 */
30 30
31char pot_etags_version[] = "@(#) pot revision number is 10.31"; 31char pot_etags_version[] = "@(#) pot revision number is 10.32";
32 32
33#ifdef MSDOS 33#ifdef MSDOS
34#include <fcntl.h> 34#include <fcntl.h>
@@ -263,7 +263,6 @@ struct option longopts[] = {
263 { "c++", no_argument, NULL, 'C' }, 263 { "c++", no_argument, NULL, 'C' },
264 { "cxref", no_argument, NULL, 'x' }, 264 { "cxref", no_argument, NULL, 'x' },
265 { "defines", no_argument, NULL, 'd' }, 265 { "defines", no_argument, NULL, 'd' },
266 { "forward-search", no_argument, NULL, 'F' },
267 { "help", no_argument, NULL, 'H' }, 266 { "help", no_argument, NULL, 'H' },
268 { "ignore-indentation", no_argument, NULL, 'S' }, 267 { "ignore-indentation", no_argument, NULL, 'S' },
269 { "include", required_argument, NULL, 'i' }, 268 { "include", required_argument, NULL, 'i' },
@@ -325,7 +324,7 @@ names from stdin.\n\n", progname);
325 if (CTAGS) 324 if (CTAGS)
326 puts ("-B, --backward-search\n\ 325 puts ("-B, --backward-search\n\
327 Write the search commands for the tag entries using '?', the\n\ 326 Write the search commands for the tag entries using '?', the\n\
328 backward-search command."); 327 backward-search command instead of '/', the forward-search command.");
329 328
330 puts ("-C, --c++\n\ 329 puts ("-C, --c++\n\
331 Treat files with `.c' and `.h' extensions as C++ code, not C\n\ 330 Treat files with `.c' and `.h' extensions as C++ code, not C\n\
@@ -340,11 +339,6 @@ names from stdin.\n\n", progname);
340 Don't create tag entries for C #defines. This makes the tags\n\ 339 Don't create tag entries for C #defines. This makes the tags\n\
341 file smaller."); 340 file smaller.");
342 341
343 if (CTAGS)
344 puts ("-F, --forward-search\n\
345 Write the search commands for the tag entries using '/', the\n\
346 forward-search command.");
347
348 if (!CTAGS) 342 if (!CTAGS)
349 puts ("-i FILE, --include=FILE\n\ 343 puts ("-i FILE, --include=FILE\n\
350 Include a note in tag file indicating that, when searching for\n\ 344 Include a note in tag file indicating that, when searching for\n\
@@ -429,7 +423,7 @@ main (argc, argv)
429 for (;;) 423 for (;;)
430 { 424 {
431 int opt; 425 int opt;
432 opt = getopt_long (argc, argv, "aCdDf:o:StTi:BFuvxwVH", longopts, 0); 426 opt = getopt_long (argc, argv, "aCdDf:o:StTi:BuvxwVH", longopts, 0);
433 427
434 if (opt == EOF) 428 if (opt == EOF)
435 break; 429 break;
@@ -487,9 +481,6 @@ main (argc, argv)
487 case 'B': 481 case 'B':
488 searchar = '?'; 482 searchar = '?';
489 break; 483 break;
490 case 'F':
491 searchar = '/';
492 break;
493 case 't': 484 case 't':
494 typedefs++; 485 typedefs++;
495 break; 486 break;