summaryrefslogtreecommitdiffstats
path: root/catman.8
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-12-25 19:35:44 +0000
commit53e6d06c1bdbc06c38e2aedcad452d656cd4734c (patch)
tree980fbe0234918d99c10a7ce6e17b0d6a931b3f03 /catman.8
parent6a77081b4e30b2766639dbf6e063db437049632b (diff)
downloadmandoc-53e6d06c1bdbc06c38e2aedcad452d656cd4734c.tar.gz
State default usage before listing arguments of a utility. Inspired by a
patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@.
Diffstat (limited to 'catman.8')
-rw-r--r--catman.828
1 files changed, 14 insertions, 14 deletions
diff --git a/catman.8 b/catman.8
index a57716e7..241737b8 100644
--- a/catman.8
+++ b/catman.8
@@ -32,6 +32,16 @@ The
.Nm
utility updates cached manpages for a jailed
.Xr man.cgi 7 .
+.Pp
+By default,
+.Nm
+searches for
+.Xr mandocdb 8
+databases in the default paths stipulated by
+.Xr man 1
+and updates the cache in
+.Pa /var/www/cache/man.cgi .
+.Pp
Its arguments are as follows:
.Bl -tag -width Ds
.It Fl f
@@ -61,22 +71,12 @@ Update into the directory tree under
.Ar path .
.El
.Pp
-By default,
-.Nm
-searches for
-.Xr mandocdb 8
-databases in the default paths stipulated by
-.Xr man 1
-and updates the cache in
-.Pa /var/www/cache/man.cgi .
-.Pp
-An update occurs when a
+Cache updates occur when a
.Xr mandocdb 8
-database is older than the cached copy.
-Cached manual pages are only updated if older than the master copy.
-If
+database is older than the cached copy unless
.Fl f
-is specified, all files are updated.
+is specified, in which case files are always considered out of date.
+Cached manual pages are only updated if older than the master copy.
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev MANPATH