summaryrefslogtreecommitdiffstats
path: root/contrib/global/gctags/gctags.1
diff options
context:
space:
mode:
authorcwt <cwt@FreeBSD.org>1997-12-15 23:08:46 +0000
committercwt <cwt@FreeBSD.org>1997-12-15 23:08:46 +0000
commitb1200e5a86469f83f9487d32847b49df6f6e8d81 (patch)
tree84ffbd5bfaa52e29af60dccffd70e807e7110a91 /contrib/global/gctags/gctags.1
parentd9973ba95ba5804ff9b4d3b5295bc5126726e474 (diff)
parent2d4696c8a0217d673b65b4f308e71d6ae8f5ebc6 (diff)
downloadFreeBSD-src-b1200e5a86469f83f9487d32847b49df6f6e8d81.zip
FreeBSD-src-b1200e5a86469f83f9487d32847b49df6f6e8d81.tar.gz
This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/global/gctags/gctags.1')
-rw-r--r--contrib/global/gctags/gctags.112
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/global/gctags/gctags.1 b/contrib/global/gctags/gctags.1
index 2d55d52..ed95875 100644
--- a/contrib/global/gctags/gctags.1
+++ b/contrib/global/gctags/gctags.1
@@ -39,7 +39,7 @@
.Nd create a tags file (special command for GLOBAL)
.Sh SYNOPSIS
.Nm gctags
-.Op Fl BDFadertuwvx
+.Op Fl BDFacderstuvwx
.Op Fl f Ar tagsfile
.Ar name ...
.Sh DESCRIPTION
@@ -77,6 +77,8 @@ use forward searching patterns
append to
.Ar tags
file.
+.It Fl c
+print with compact format. It is valid only with -x option.
.It Fl d
create tags for
.Li #defines
@@ -88,11 +90,13 @@ force a function to end when reach a '}' at the first column. (C source only)
.It Fl f
place the tag descriptions in a file called
.Ar tagsfile .
-The default behavior is to place them in a file called
+The default behaviour is to place them in a file called
.Ar tags .
.It Fl r
locate function references instead of function definitions. GTAGS file is
needed at the current directory. (C source only)
+.It Fl s
+collect symbols except for functions.
.It Fl t
create tags for typedefs, structs, unions, and enums.
.It Fl u
@@ -184,7 +188,7 @@ tags file for GLOBAL
.El
.Sh DIAGNOSTICS
.Nm Gctags
-exits with a value of 1 if an error occurred, 0 otherwise.
+exits with a non 0 value if an error occurred, 0 otherwise.
Duplicate objects are not considered errors.
.Sh SEE ALSO
.Xr btreeop 1 ,
@@ -234,4 +238,4 @@ kernel source.
.Sh HISTORY
The
.Nm
-command appeared in FreeBSD 2.2.
+command appeared in FreeBSD 2.2.2.
OpenPOWER on IntegriCloud