Skip to content
Myr

Improve --full-path documentation, closes #839

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

authored by David Peter · committed by David Peter · parent a539181 · Browse files · 1 file+4 added−3 removed
This commit

State

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

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:src/app.rs+4 added-3 removed
226 unmodified lines
227 Arg::with_name("full-path")228 .long("full-path")229 .short("p")230 .overrides_with("full-path")231 .help("Search full path (default: file-/dirname only)")231 .help("Search full abs. path (default: filename only)")232 .long_help(233 "By default, the search pattern is only matched against the filename (or \234 directory name). Using this flag, the pattern is matched against the \235 full path.",234 directory name). Using this flag, the pattern is matched against the full \235 (absolute) path. Example:\n \236 fd --glob -p '**/.git/config'",237 ),238 )239 .arg(240 Arg::with_name("null_separator")
487 unmodified lines