summaryrefslogtreecommitdiffstats
path: root/usr.bin/global/htags/htags.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/global/htags/htags.1')
-rw-r--r--usr.bin/global/htags/htags.122
1 files changed, 19 insertions, 3 deletions
diff --git a/usr.bin/global/htags/htags.1 b/usr.bin/global/htags/htags.1
index f82b37c..1a336ea 100644
--- a/usr.bin/global/htags/htags.1
+++ b/usr.bin/global/htags/htags.1
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd Feb 17, 1997
+.Dd Apr 21, 1997
.Dt HTAGS 1
.Os BSD 4
.Sh NAME
@@ -37,6 +37,7 @@
.Sh SYNOPSIS
.Nm htags
.Op Fl a
+.Op Fl l
.Op Fl v
.Op Fl w
.Op Fl d Ar tagdir
@@ -44,7 +45,7 @@
.Op Ar dir
.Sh DESCRIPTION
.Nm Htags
-makes hypertext from C and Yacc source code using GLOBAL database.
+makes hypertext from C and Yacc source code using GLOBAL database (GTAGS, GRTAGS).
.Pp
In advance of using this command, you must execute
.Xr gtags 1
@@ -62,7 +63,11 @@ by any browsers.
.br
.Bl -tag -width Ds
.It Fl a
-make alphabetical function index. It's suitable to large project.
+make an alphabetical function index. It's suitable for large project.
+.It Fl l
+make name tag(<A NAME=lno>) for each line so that outer hypertext
+can point any line of this hypertext.
+By default, make it only for lines which have referred object.
.It Fl v
verbose mode.
.It Fl w
@@ -87,6 +92,13 @@ tags file for function definitions.
.It Pa GRTAGS
tags file for function references.
.El
+.Sh ENVIRONMENT
+The following environment variables affect the execution of htags.
+.Pp
+.Bl -tag -width indent
+.It Ev TMPDIR
+If this variable is set, its value is used as the directory to make temporary file.
+Default is /tmp.
.Sh DIAGNOSTICS
.Nm Htags
exits with a value of 1 if an error occurred, 0 otherwise.
@@ -97,3 +109,7 @@ exits with a value of 1 if an error occurred, 0 otherwise.
Generated hypertext is VERY LARGE. In advance, check the space of your disk.
.Sh AUTHORS
Shigio Yamaguchi (shigio@wafu.netgate.net)
+.Sh HISTORY
+The
+.Nm
+command appeared in FreeBSD 2.2.
OpenPOWER on IntegriCloud