]> git.sesse.net Git - plocate/blobdiff - plocate-build.8
Remove dependency on non-POSIX header error.h.
[plocate] / plocate-build.8
index a4cbc12716c3b4156190aa2b3dc1c385767777ef..a34a45795019501d36efe218fffb70c75e06c05d 100644 (file)
@@ -13,12 +13,14 @@ plocate-build \- generate index for plocate
 creates an index from 
 .BR plocate (1)
 from an index earlier generated by
-.BR updatedb (1)
+.BR updatedb (8)
 from the
 .BR mlocate (1)
-package. This is currently the only way to build such an index.
+package. Most users would rather want to use plocate's own
+.BR updatedb (8),
+which is more direct.
 If
-.I MLOCATE_DB
+.I PLOCATE_DB
 already exists, it will be overwritten (non-atomically). The file is
 created such that it is not world-readable, as the final access check
 is done by
@@ -42,6 +44,11 @@ per block. However, making it too large will cause more false positives,
 reducing overall performance for typical queries. The default value is 32.
 Setting it to 1 makes one (compressed) block per filename.
 
+.TP
+\fB\-p\fR, \fB\-\-plaintext\fR
+Treat the input as plain text, with entries delimited by newlines,
+instead of an mlocate database.
+
 .TP
 .B \-\-help
 Print out usage information, then exit successfully.