summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-11-26 13:07:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-11-26 13:07:16 +0000
commitcac096a251aba33da0ad525aabf2877d4fed991f (patch)
tree208faf3aa11fd181d2408307ceced721b66ae1b0 /usr.bin
parent361110a199310503a6bce16a39f33732364a1c18 (diff)
minor sync to bsd.lv
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/apropos.17
-rw-r--r--usr.bin/mandoc/mandocdb.811
2 files changed, 12 insertions, 6 deletions
diff --git a/usr.bin/mandoc/apropos.1 b/usr.bin/mandoc/apropos.1
index 0635bb0a2f4..30184f4c924 100644
--- a/usr.bin/mandoc/apropos.1
+++ b/usr.bin/mandoc/apropos.1
@@ -1,4 +1,4 @@
-.\" $Id: apropos.1,v 1.4 2011/11/18 01:10:03 schwarze Exp $
+.\" $Id: apropos.1,v 1.5 2011/11/26 13:07:15 schwarze 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: November 18 2011 $
+.Dd $Mdocdate: November 26 2011 $
.Dt APROPOS 1
.Os
.Sh NAME
@@ -29,7 +29,7 @@
The
.Nm
utility queries a manual page database generated by
-.Xr mandocdb 8 ,
+.Xr mandocdb 8 ,
evaluating on
.Ar expression
for each file in the database.
@@ -57,7 +57,6 @@ The
operator has precedence over
.Fl o
and both are evaluated left-to-right.
-.Pp
.Bl -tag -width Ds
.It \&( Ar expr No \&)
True if the subexpression
diff --git a/usr.bin/mandoc/mandocdb.8 b/usr.bin/mandoc/mandocdb.8
index ae2ef722b26..7b8c5ff6770 100644
--- a/usr.bin/mandoc/mandocdb.8
+++ b/usr.bin/mandoc/mandocdb.8
@@ -1,4 +1,4 @@
-.\" $Id: mandocdb.8,v 1.6 2011/11/17 15:02:29 schwarze Exp $
+.\" $Id: mandocdb.8,v 1.7 2011/11/26 13:07:15 schwarze 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: November 17 2011 $
+.Dd $Mdocdate: November 26 2011 $
.Dt MANDOCDB 8
.Os
.Sh NAME
@@ -82,6 +82,12 @@ By default,
creates databases in each
.Ar dir
using files rooted in that directory.
+If
+.Ar dir
+is not provided,
+.Nm
+uses the default paths stipulated by
+.Xr man 1 .
.Pp
If fatal parse errors are encountered while parsing, the offending file
is printed to stderr, omitted from the index, and the parse continues
@@ -201,6 +207,7 @@ to exit at once, possibly in the middle of parsing or formatting a file.
The output databases are corrupt and should be removed .
.El
.Sh SEE ALSO
+.Xr man 1 ,
.Xr mandoc 1 ,
.Xr btree 3 ,
.Xr recno 3