mirror of
https://github.com/sharkdp/fd
synced 2024-07-05 17:29:31 +00:00
commit
8b5532d8dd
2
doc/fd.1
vendored
2
doc/fd.1
vendored
|
@ -379,7 +379,7 @@ This option can be specified multiple times, in which case all commands are run
|
||||||
file found, in the order they are provided. In that case, you must supply a ';' argument for
|
file found, in the order they are provided. In that case, you must supply a ';' argument for
|
||||||
all but the last commands.
|
all but the last commands.
|
||||||
|
|
||||||
If parallelism is enabled, the order commands will be exectued in is non-deterministic. And even with
|
If parallelism is enabled, the order commands will be executed in is non-deterministic. And even with
|
||||||
--threads=1, the order is determined by the operating system and may not be what you expect. Thus, it is
|
--threads=1, the order is determined by the operating system and may not be what you expect. Thus, it is
|
||||||
recommended that you don't rely on any ordering of the results.
|
recommended that you don't rely on any ordering of the results.
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ pub struct Opts {
|
||||||
|
|
||||||
/// Show search results from files and directories that would otherwise be
|
/// Show search results from files and directories that would otherwise be
|
||||||
/// ignored by '.gitignore', '.ignore', '.fdignore', the global ignore file,
|
/// ignored by '.gitignore', '.ignore', '.fdignore', the global ignore file,
|
||||||
/// or the default rule tthat excludes .git/.
|
/// or the default rule that excludes .git/.
|
||||||
/// The flag can be overridden with --ignore.
|
/// The flag can be overridden with --ignore.
|
||||||
#[arg(
|
#[arg(
|
||||||
long,
|
long,
|
||||||
|
@ -226,7 +226,7 @@ pub struct Opts {
|
||||||
alias = "dereference",
|
alias = "dereference",
|
||||||
long_help = "By default, fd does not descend into symlinked directories. Using this \
|
long_help = "By default, fd does not descend into symlinked directories. Using this \
|
||||||
flag, symbolic links are also traversed. \
|
flag, symbolic links are also traversed. \
|
||||||
Flag can be overriden with --no-follow."
|
Flag can be overridden with --no-follow."
|
||||||
)]
|
)]
|
||||||
pub follow: bool,
|
pub follow: bool,
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ pub(super) fn tokenize(input: &str) -> ArgumentTemplate {
|
||||||
0 | 1 => {
|
0 | 1 => {
|
||||||
// we found an escaped {{ or }}, so add
|
// we found an escaped {{ or }}, so add
|
||||||
// everything up to the first char to the buffer
|
// everything up to the first char to the buffer
|
||||||
// then skipp the second one.
|
// then skip the second one.
|
||||||
buf += &remaining[..m.start() + BRACE_LEN];
|
buf += &remaining[..m.start() + BRACE_LEN];
|
||||||
remaining = &remaining[m.end()..];
|
remaining = &remaining[m.end()..];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user