diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-18 18:51:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-12-18 18:51:01 +0000 |
commit | 0d9470784d26b2926cea58b30ad4c1587cbedb14 (patch) | |
tree | 7837ecb7e92861752cb37561aae701eba52dc66c /catman.8 | |
parent | 8ba55f016df3035abde0f0e18009fd202d208c7d (diff) | |
download | mandoc-0d9470784d26b2926cea58b30ad4c1587cbedb14.tar.gz mandoc-0d9470784d26b2926cea58b30ad4c1587cbedb14.tar.zst mandoc-0d9470784d26b2926cea58b30ad4c1587cbedb14.zip |
Give catman(8) the -C flag (like apropos and friends) and merge in some
documentation from apropos(1) to be consistent.
Diffstat (limited to 'catman.8')
-rw-r--r-- | catman.8 | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: catman.8,v 1.2 2011/12/04 22:52:50 kristaps Exp $ +.\" $Id: catman.8,v 1.3 2011/12/18 18:51:01 kristaps Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 4 2011 $ +.Dd $Mdocdate: December 18 2011 $ .Dt CATMAN 8 .Os .Sh NAME @@ -23,6 +23,7 @@ .Sh SYNOPSIS .Nm catman .Op Fl fv +.Op Fl C Ar file .Op Fl M Ar manpath .Op Fl m Ar manpath .Op Fl o Ar path @@ -37,6 +38,12 @@ Its arguments are as follows: Force an update to all files. .It Fl v Print each file being updated. +.It Fl C Ar file +Specify an alternative configuration +.Ar file +in +.Xr man.conf 5 +format. .It Fl M Ar manpath Use the colon-separated path instead of the default list of paths searched for @@ -44,7 +51,7 @@ searched for databases. Invalid paths, or paths without manual databases, are ignored. .It Fl m Ar manpath -Append the colon-separated paths to the list of paths searched +Prepend the colon-separated paths to the list of paths searched for .Xr mandocdb 8 databases. @@ -70,6 +77,15 @@ Cached manual pages are only updated if older than the master copy. If .Fl f is specified, all files are updated. +.Sh ENVIRONMENT +.Bl -tag -width Ds +.It Ev MANPATH +Colon-separated paths overriding the default list of paths searched for +manual databases. +Invalid paths, or paths without manual databases, are ignored. +Overridden by +.Fl M . +.El .Sh EXIT STATUS .Ex -std .Sh SEE ALSO |