X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plocate.1;h=03ba56e6fa2b538e7159e2def6f35f8aa0750154;hb=31641da5750ed2b80697e605bf5b50c0a92264af;hp=864a4a798b5819b8b98ad20f1a9ae179978c41ab;hpb=b60bfa2a8508872d65b3e4b6d734f80041a3c081;p=plocate diff --git a/plocate.1 b/plocate.1 index 864a4a7..03ba56e 100644 --- a/plocate.1 +++ b/plocate.1 @@ -33,7 +33,7 @@ will search for files that match of them. This is the main incompatibility with .BR mlocate (1), which searches for files that match one or more patterns, unless -the \-a option is given. +the \-A option is given. By default, patterns are taken to be substrings to search for. If at least one non-escaped globbing metacharacter (*, ? or []) is given, @@ -57,6 +57,16 @@ and none that are not, by means of running with the setgid bit set to access the index (which is built as root), but by testing visibility as the calling user. +.SH EXIT STATUS +.B plocate +exits with 0 to indicate that a match was found or that +.B --help +or +.B --version +were passed. Otherwise, +.B plocate +exits with status code 1, indicating that an error occurred or that no matches were found. + .SH OPTIONS .TP \fB\-A\fR, \fB\-\-all\fR