diff options
author | tjr <tjr@FreeBSD.org> | 2002-05-30 11:36:12 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-05-30 11:36:12 +0000 |
commit | b8ff33afe9579ff837b51f514100378252395e10 (patch) | |
tree | b885f5e6f1e863a30ca95dad9b3bf93c15336d8d /usr.bin/ctags/ctags.1 | |
parent | 810a0724665f6fc25775a88ecce0284a13bd20ee (diff) | |
download | FreeBSD-src-b8ff33afe9579ff837b51f514100378252395e10.zip FreeBSD-src-b8ff33afe9579ff837b51f514100378252395e10.tar.gz |
Create tags for typedefs, structs, unions and enums by default (imply the
-t option). Make a new option, -T, to revert to the old behaviour.
Diffstat (limited to 'usr.bin/ctags/ctags.1')
-rw-r--r-- | usr.bin/ctags/ctags.1 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.bin/ctags/ctags.1 b/usr.bin/ctags/ctags.1 index 74410ad..39d5129 100644 --- a/usr.bin/ctags/ctags.1 +++ b/usr.bin/ctags/ctags.1 @@ -42,7 +42,7 @@ file .Sh SYNOPSIS .Nm -.Op Fl BFadtuwvx +.Op Fl BFTaduwvx .Op Fl f Ar tagsfile .Ar name ... .Sh DESCRIPTION @@ -80,6 +80,8 @@ Use backward searching patterns Use forward searching patterns .Pq Li /.../ (the default). +.It Fl T +Do not create tags for typedefs, structs, unions, and enums. .It Fl a Append to .Pa tags @@ -95,8 +97,6 @@ Place the tag descriptions in a file called .Ar tagsfile . The default behaviour is to place them in a file called .Pa tags . -.It Fl t -Create tags for typedefs, structs, unions, and enums. .It Fl u Update the specified files in the .Pa tags @@ -203,6 +203,13 @@ Duplicate objects are not considered errors. .Sh SEE ALSO .Xr ex 1 , .Xr vi 1 +.Sh COMPATIBILITY +The +.Fl t +option is a no-op for compatibility with previous versions of +.Nm +that did not create tags for typedefs, enums, structs and unions +by default. .Sh BUGS Recognition of functions, subroutines and procedures for Fortran and Pascal is done in a very simpleminded way. |