]> git.sesse.net Git - plocate/blobdiff - plocate.1
Implement the -b (--basename) option.
[plocate] / plocate.1
index e58ad580f06fc34f2b5ee5dfa0e59e77cb711406..85c6fcc93af1275947c3ca3698c1e41847b01db8 100644 (file)
--- a/plocate.1
+++ b/plocate.1
@@ -57,6 +57,13 @@ bit set to access the index (which is built as root), but by
 testing visibility as the calling user.
 
 .SH OPTIONS
+.TP
+\fB\-b\fR, \fB\-\-basename\fR
+Match only against the file name portion of the path name,
+ie., the directory names will be excluded from the match
+(but still printed). This does not speed up the search,
+but can suppress uninteresting matches.
+
 .TP
 \fB\-c\fR, \fB\-\-count\fR
 Do not print each match. Instead, count them, and print out a total
@@ -110,6 +117,13 @@ be POSIX
 .I extended
 regular expressions.
 
+.TP
+\fB\-w\fR, \fB\-\-wholename\fR
+Match against the entire path name. This is the default,
+so unless \fB-b\fR is given first (see above), it will not do
+anything. This option thus exists only as compatibility with
+.BR mlocate (1).
+
 .TP
 .B \-\-help
 Print out usage information, then exit successfully.