mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
Change clap CLI binary name to 'fd'
This commit is contained in:
parent
f8e832f212
commit
ac35b11dc8
|
@ -83,6 +83,7 @@ impl clap::Args for Negations {
|
|||
|
||||
#[derive(Parser)]
|
||||
#[command(
|
||||
name = "fd",
|
||||
version,
|
||||
after_long_help = "Bugs can be reported on GitHub: https://github.com/sharkdp/fd/issues",
|
||||
args_override_self = true,
|
||||
|
|
|
@ -1481,7 +1481,7 @@ fn test_exec_batch() {
|
|||
&["foo", "--exec-batch", "echo", "{}", "{}"],
|
||||
"error: Only one placeholder allowed for batch commands\n\
|
||||
\n\
|
||||
Usage: fd-find [OPTIONS] [pattern] [path]...\n\
|
||||
Usage: fd [OPTIONS] [pattern] [path]...\n\
|
||||
\n\
|
||||
For more information try '--help'\n\
|
||||
",
|
||||
|
@ -1501,7 +1501,7 @@ fn test_exec_batch() {
|
|||
&["foo", "--exec-batch", "echo {}"],
|
||||
"error: First argument of exec-batch is expected to be a fixed executable\n\
|
||||
\n\
|
||||
Usage: fd-find [OPTIONS] [pattern] [path]...\n\
|
||||
Usage: fd [OPTIONS] [pattern] [path]...\n\
|
||||
\n\
|
||||
For more information try '--help'\n\
|
||||
",
|
||||
|
|
Loading…
Reference in a new issue