Remove claim about unique search results

This commit is contained in:
sharkdp 2020-04-03 10:07:46 +02:00
parent c9dc617711
commit 33df48ebe4
3 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,6 @@
* see metadata like permissions, owner, file size, modification times (#491) * see metadata like permissions, owner, file size, modification times (#491)
* see symlink targets (#482) * see symlink targets (#482)
* achieve a deterministic output order (#324, #196, #159) * achieve a deterministic output order (#324, #196, #159)
* avoid duplicate search results when multiple search paths are given (#405)
- Add a new `--max-results=<count>` option to limit the number of search results, see #472 and #476 - Add a new `--max-results=<count>` option to limit the number of search results, see #472 and #476
This can be useful to speed up searches in cases where you know that there are only N results. This can be useful to speed up searches in cases where you know that there are only N results.
Using this option is also (slightly) faster than piping to `head -n <count>` where `fd` can only Using this option is also (slightly) faster than piping to `head -n <count>` where `fd` can only

4
doc/fd.1 vendored
View File

@ -69,8 +69,8 @@ Shows the full path starting from the root as opposed to relative paths.
.B \-l, \-\-list\-details .B \-l, \-\-list\-details
Use a detailed listing format like 'ls -l'. This is basically an alias Use a detailed listing format like 'ls -l'. This is basically an alias
for '--exec-batch ls -l' with some additional 'ls' options. This can be used for '--exec-batch ls -l' with some additional 'ls' options. This can be used
to see more metadata, to show symlink targets, to achieve a deterministic to see more metadata, to show symlink targets and to achieve a deterministic
sort order and to avoid duplicate search results when using multiple search paths. sort order.
.TP .TP
.B \-L, \-\-follow .B \-L, \-\-follow
By default, fd does not descend into symlinked directories. Using this flag, symbolic links are By default, fd does not descend into symlinked directories. Using this flag, symbolic links are

View File

@ -355,8 +355,8 @@ fn usage() -> HashMap<&'static str, Help> {
, "Show details like permissions, owner, size and modification time." , "Show details like permissions, owner, size and modification time."
, "Use a detailed listing format like 'ls -l'. This is basically an alias \ , "Use a detailed listing format like 'ls -l'. This is basically an alias \
for '--exec-batch ls -l' with some additional 'ls' options. This can be used \ for '--exec-batch ls -l' with some additional 'ls' options. This can be used \
to see more metadata, to show symlink targets, to achieve a deterministic \ to see more metadata, to show symlink targets and to achieve a deterministic \
sort order and to avoid duplicate search results when using multiple search paths."); sort order.");
doc!(h, "path-separator" doc!(h, "path-separator"
, "Set the path separator to use when printing file paths." , "Set the path separator to use when printing file paths."
, "Set the path separator to use when printing file paths. The default is the OS-specific \ , "Set the path separator to use when printing file paths. The default is the OS-specific \