README and man page updates.

This commit is contained in:
sharkdp 2017-10-25 22:43:36 +02:00
parent 5ad69fb2fb
commit 7b8d9322ba
2 changed files with 17 additions and 8 deletions

View File

@ -125,7 +125,7 @@ With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can
```
cargo install fd-find
```
Note that rust version *1.16.0* or later is required.
Note that rust version *1.19.0* or later is required.
The release page of this repository also includes precompiled binaries for Linux.
On **macOS**, you can use [Homebrew](http://braumeister.org/formula/fd):
@ -178,12 +178,14 @@ FLAGS:
-V, --version Prints version information
OPTIONS:
-d, --max-depth <depth> Set maximum search depth (default: none)
-t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)
-e, --extension <ext> Filter by file extension
-c, --color <when> When to use colors: never, *auto*, always
-j, --threads <num> Set number of threads to use for searching & executing
-x, --exec <cmd> Execute the given command for each search result
-d, --max-depth <depth> Set maximum search depth (default: none)
-t, --type <filetype> Filter by type: f(ile), d(irectory), (sym)l(ink)
-e, --extension <ext> Filter by file extension
-x, --exec <cmd> Execute the given command for each search result
-E, --exclude <pattern>... Exclude entries that match the given glob pattern.
-c, --color <when> When to use colors: never, *auto*, always
-j, --threads <num> Set number of threads to use for searching &
executing
ARGS:
<pattern> the search pattern, a regular expression (optional)

View File

@ -3,13 +3,15 @@
fd \- find entries in the filesystem
.SH SYNOPSIS
.B fd
.RB [ \-HIsiaLp0hV ]
.RB [ \-HIEsiaLp0hV ]
.RB [ \-d
.IR depth ]
.RB [ \-t
.IR filetype ]
.RB [ \-e
.IR ext ]
.RB [ \-E
.IR exclude ]
.RB [ \-c
.IR when ]
.RB [ \-j
@ -78,6 +80,11 @@ symbolic links
Filter search results by file extension
.IR ext .
.TP
.BI "\-E, \-\-exclude " pattern
Exclude files/directories that match the given glob pattern.
This overrides any other ignore logic.
Multiple exclude patterns can be specified.
.TP
.BI "\-c, \-\-color " when
Declare
.I when