Merge pull request #1409 from marcospb19/fix-docs-typo

Fix docs typos
This commit is contained in:
Thayne McCombs 2023-10-23 22:10:05 -06:00 committed by GitHub
commit 8b5532d8dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

2
doc/fd.1 vendored
View file

@ -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
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
recommended that you don't rely on any ordering of the results.

View file

@ -49,7 +49,7 @@ pub struct Opts {
/// Show search results from files and directories that would otherwise be
/// 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.
#[arg(
long,
@ -226,7 +226,7 @@ pub struct Opts {
alias = "dereference",
long_help = "By default, fd does not descend into symlinked directories. Using this \
flag, symbolic links are also traversed. \
Flag can be overriden with --no-follow."
Flag can be overridden with --no-follow."
)]
pub follow: bool,

View file

@ -48,7 +48,7 @@ pub(super) fn tokenize(input: &str) -> ArgumentTemplate {
0 | 1 => {
// we found an escaped {{ or }}, so add
// 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];
remaining = &remaining[m.end()..];
}