Skip to content
Myr

docs: drop accidental --full-path edits from extension PR

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Scope this branch to -e/--extension only (#1693). Full-path help clarifications remain in #1997.

authored by wuyangfan · committed by wuyangfan · parent e60582f · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Cursor <cursoragent@cursor.com>

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:doc/fd.1+2 added-2 removed
134 unmodified lines
135By default, fd does not descend into symlinked directories. Using this flag, symbolic links are136also traversed. The flag can be overridden with '--no-follow'.137.TP138.B \-p, \-\-full\-path139By default, the search pattern is only matched against the last path component (file or directory name). Using139By default, the search pattern is only matched against the filename (or directory name). Using140this flag, the141.I pattern142is matched against the absolute path.142is matched against the full path.143.TP144.B \-0, \-\-print0145Separate search results by the null character (instead of newlines). Useful for piping results to146.IR xargs .
434 unmodified lines
modified:src/cli.rs+2 added-2 removed
237 unmodified lines
238 /// Overrides --follow239 #[arg(long, overrides_with = "follow", hide = true, action = ArgAction::SetTrue)]240 no_follow: (),241242 /// By default, the search pattern is only matched against the last path component (file or directory name). Using this flag, the pattern is matched against the absolute path. Example:242 /// By default, the search pattern is only matched against the filename (or directory name). Using this flag, the pattern is matched against the full (absolute) path. Example:243 /// fd --glob -p '**/.git/config'244 #[arg(245 long,246 short = 'p',247 help = "Search absolute path (default: last path component only)",247 help = "Search full abs. path (default: filename only)",248 long_help,249 verbatim_doc_comment250 )]251 pub full_path: bool,
703 unmodified lines