behavior.
Like
-.BR mlocate(1),
+.BR mlocate (1),
+.B plocate
shows all files visible to the calling user (by virtue of
having read and execute permissions on all parent directories),
and none that are not, by means of running with the setgid
.TP
\fB\-d\fR, \fB\-\-database\fR \fIDBPATH\fR
-Find matches in \fB/var/lib/mlocate/plocate.db\fR, instead of the given database.
-(
-.B plocate
-does not currently support multiple databases.)
+Find matches in the given database, instead of \fB/var/lib/plocate/plocate.db\fR.
+This argument can be given multiple times, to search multiple databases.
+It is also possible to give multiple databases in one argument, separated by
+.BR : .
+(Any character, including : and \\, can be escaped by prepending a \\.)
.TP
\fB\-i\fR, \fB\-\-ignore\-case\fR
\fB\-r\fR, \fB\-\-regexp\fR
Patterns are taken to be POSIX basic regular expressions.
See
-.BR regex(7)
+.BR regex (7)
for more information. Note that this forces a linear scan
through the entire database, which is slow.
.B \-\-version
Print out version information, then exit successfully.
+.SH ENVIRONMENT
+
+.TP
+\fBLOCATE_PATH\fR
+If given, appended after the list of \fB\-\-database\fR paths
+(whether an explicit is given or the default is used).
+Colon-delimiting and character escaping follows the same rules
+as for \fB\-\-database\fR.
+
.SH AUTHOR
Steinar H. Gunderson <steinar+plocate@gunderson.no>