mirror of https://github.com/sharkdp/fd.git
Update help text
This commit is contained in:
parent
34e4620e26
commit
0aae4a3d46
|
@ -1,6 +1,6 @@
|
|||
[root]
|
||||
name = "fd-find"
|
||||
version = "3.1.0"
|
||||
version = "4.0.0"
|
||||
dependencies = [
|
||||
"ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"atty 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -61,6 +61,7 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.long("type")
|
||||
.short("t")
|
||||
.takes_value(true)
|
||||
.value_name("filetype")
|
||||
.possible_values(&["f", "file", "d", "directory", "s", "symlink"])
|
||||
.hide_possible_values(true)
|
||||
.help("Filter by type: f(ile), d(irectory), s(ymlink)"),
|
||||
|
@ -78,6 +79,7 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.long("color")
|
||||
.short("c")
|
||||
.takes_value(true)
|
||||
.value_name("when")
|
||||
.possible_values(&["never", "auto", "always"])
|
||||
.hide_possible_values(true)
|
||||
.help(
|
||||
|
@ -90,6 +92,7 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.long("threads")
|
||||
.short("j")
|
||||
.takes_value(true)
|
||||
.value_name("num")
|
||||
.help(
|
||||
"Set number of threads to use for searching\n\
|
||||
(default: number of available CPU cores)",
|
||||
|
|
Loading…
Reference in New Issue