comparison etc/etags.1 @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents a4f53d9b3154
children 74fd4e045ea6
comparison
equal deleted inserted replaced
370:bd866891f083 371:cc15677e0335
28 [\|\-\-forward\-search\|] [\|\-\-typedefs\|] [\|\-\-typedefs\-and\-c++\|] 28 [\|\-\-forward\-search\|] [\|\-\-typedefs\|] [\|\-\-typedefs\-and\-c++\|]
29 [\|\-\-language=\fIlanguage\fP\|] [\|\-\-regex=\fIregexp\fP\|] 29 [\|\-\-language=\fIlanguage\fP\|] [\|\-\-regex=\fIregexp\fP\|]
30 [\|\-\-help\|] [\|\-\-version\|] 30 [\|\-\-help\|] [\|\-\-version\|]
31 .br 31 .br
32 [\|\-\-output=\fItagfile\fP\|] [\|\-\-append\|] [\|\-\-update\|] \fIfile\fP .\|.\|. 32 [\|\-\-output=\fItagfile\fP\|] [\|\-\-append\|] [\|\-\-update\|] \fIfile\fP .\|.\|.
33
34 .B ootags [\|\-aCDRSVh\|] [\|\-i \fIfile\fP\|] [\|\-l \fIlanguage\fP\|] [\|\-i \fIregexp\fP\|] [\|\-o \fItagfile\fP\|]
35 .br
36 [\|\-\-c++\|] [\|\-\-no\-defines\|] [\|\-\-ignore\-indentation\|]
37 [\|\-\-language=\fIlanguage\fP\|] [\|\-\-regex=\fIregexp\fP\|]
38 [\|\-\-no\-regexp\|] [\|\-\-help\|] [\|\-\-version\|]
39 [\|\-\-include=\fIfile\fP\|] [\|\-\-output=\fItagfile\fP\|]
40 [\|\-\-append\|] \fIfile\fP .\|.\|.
41
42 .ad b 33 .ad b
43 .hy 1 34 .hy 1
44 .SH DESCRIPTION 35 .SH DESCRIPTION
45 The `\|\fBetags\fP\|' program is used to create a tag table file, in a format 36 The `\|\fBetags\fP\|' program is used to create a tag table file, in a format
46 understood by 37 understood by
47 .BR emacs ( 1 )\c 38 .BR emacs ( 1 )\c
48 \&; the `\|\fBctags\fP\|' program is used to create a similar table in a 39 \&; the `\|\fBctags\fP\|' program is used to create a similar table in a
49 format understood by 40 format understood by
50 .BR vi ( 1 )\c; the `\|\fBootags\fP\|' program is used to create a 41 .BR vi ( 1 )\c
51 similar table used by the Altrasoft OO Browser (This manpage may be
52 innacurate in regards to ootags).
53 \&. Both forms of the program understand 42 \&. Both forms of the program understand
54 the syntax of C, Objective C, C++, Java, Fortran, Pascal, Cobol, 43 the syntax of C, Objective C, C++, Java, Fortran, Pascal, Cobol,
55 LaTeX, Scheme, Emacs Lisp/Common Lisp, Postscript, Erlang, Prolog and 44 LaTeX, Scheme, Emacs Lisp/Common Lisp, Postscript, Erlang, Prolog and
56 most assembler\-like syntaxes. 45 most assembler\-like syntaxes.
57 Both forms read the files specified on the command line, and write a tag 46 Both forms read the files specified on the command line, and write a tag
172 Don't rely on indentation as much as we normally do. Currently, this 161 Don't rely on indentation as much as we normally do. Currently, this
173 means not to assume that a closing brace in the first column is the 162 means not to assume that a closing brace in the first column is the
174 final brace of a function or structure definition in C and C++. 163 final brace of a function or structure definition in C and C++.
175 .TP 164 .TP
176 .B \-t, \-\-typedefs 165 .B \-t, \-\-typedefs
177 Record typedefs in C code as tags. Since this is the default behavior 166 Record typedefs in C code as tags. Since this is the default behaviour
178 of \fBetags\fP, only \fBctags\fP accepts this option. 167 of \fBetags\fP, only \fBctags\fP accepts this option.
179 .TP 168 .TP
180 .B \-T, \-\-typedefs\-and\-c++ 169 .B \-T, \-\-typedefs\-and\-c++
181 Generate tag entries for typedefs, struct, enum, and union tags, and 170 Generate tag entries for typedefs, struct, enum, and union tags, and
182 C++ member functions. Since this is the default behavior 171 C++ member functions. Since this is the default behaviour
183 of \fBetags\fP, only \fBctags\fP accepts this option. 172 of \fBetags\fP, only \fBctags\fP accepts this option.
184 .TP 173 .TP
185 .B \-u, \-\-update 174 .B \-u, \-\-update
186 Update tag entries for \fIfiles\fP specified on command line, leaving 175 Update tag entries for \fIfiles\fP specified on command line, leaving
187 tag entries for other files in place. Currently, this is implemented 176 tag entries for other files in place. Currently, this is implemented