summaryrefslogtreecommitdiff
path: root/locate
diff options
context:
space:
mode:
authorKevin Dalley <kevin@seti.org>1998-02-27 09:35:38 +0000
committerKevin Dalley <kevin@seti.org>1998-02-27 09:35:38 +0000
commit7a66748dc55d9c653b31bdfb5ba52886bd738307 (patch)
tree134da4ea70315e6249c4c56e638a14dd8f50d114 /locate
parentb47bc7a3d3a1ab6b0d60668bbe1546227ad2cd57 (diff)
downloadfindutils-7a66748dc55d9c653b31bdfb5ba52886bd738307.tar.gz
add documentation for "--existing" option to locate
Diffstat (limited to 'locate')
-rw-r--r--locate/locate.18
1 files changed, 7 insertions, 1 deletions
diff --git a/locate/locate.1 b/locate/locate.1
index dde9cc63..2e3c2a94 100644
--- a/locate/locate.1
+++ b/locate/locate.1
@@ -3,7 +3,7 @@
locate \- list files in databases that match a pattern
.SH SYNOPSIS
.B locate
-[\-d path] [\-\-database=path] [\-\-version] [\-\-help] pattern...
+[\-d path | \-\-database=path] [-e | --existing] [\-\-version] [\-\-help] pattern...
.SH DESCRIPTION
This manual page
documents the GNU version of
@@ -60,6 +60,12 @@ or Unix versions of
or
.BR find .
.TP
+.I "\-e, \-\-existing"
+Only print out such names that currently exist (instead of such names
+that existed when the database was created).
+Note that this may slow down the program a lot, if there are many matches
+in the database.
+.TP
.I "\-\-help"
Print a summary of the options to
.B locate