Skip to content
Myr

Improve --exclude help text, closes #661

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

authored by sharkdp · committed by sharkdp · parent 296300c · Browse files · 2 files+7 added−1 removed
This commit

State

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

Diff stats

2 files+7 added−1 removed

  • other:+7 added−1 removed

2 files+7 added−1 removed

modified:doc/fd.1+3 added
148 unmodified lines
149.BI "\-E, \-\-exclude " pattern150Exclude files/directories that match the given glob pattern.151This overrides any other ignore logic.152Multiple exclude patterns can be specified.153Examples:154 \-\-exclude '*.pyc'155 \-\-exclude node_modules156.TP157.BI "\-\-ignore-file " path158Add a custom ignore-file in '.gitignore' format.159These files have a low precedence.
170 unmodified lines
modified:src/app.rs+4 added-1 removed
338 unmodified lines
339 .help("Exclude entries that match the given glob pattern")340 .long_help(341 "Exclude files/directories that match the given glob pattern. This \342 overrides any other ignore logic. Multiple exclude patterns can be \343 specified.",343 specified.\n\n\344 Examples:\n \345 --exclude '*.pyc'\n \346 --exclude node_modules",347 ),348 )349 .arg(350 Arg::with_name("ignore-file")
241 unmodified lines