1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00

Update app.rs (#707)

docs: clarify --ignore-file

Fixes #684
This commit is contained in:
flip111 2017-12-30 22:04:21 +01:00 committed by Andrew Gallant
parent 636bbc7c8f
commit 03b0d832ed

View File

@ -422,12 +422,15 @@ lazy_static! {
and directories are skipped."); and directories are skipped.");
doc!(h, "ignore-file", doc!(h, "ignore-file",
"Specify additional ignore files.", "Specify additional ignore files.",
"Specify additional ignore files for filtering file paths. \ "Specify one or more files which contain ignore patterns. \
Ignore files should be in the gitignore format and are matched \ These patterns are applied after the patterns found in \
relative to the current working directory. These ignore files \ .gitignore and .ignore are applied. Ignore patterns should \
have lower precedence than all other ignore files. When \ be in the gitignore format and are matched relative to the \
specifying multiple ignore files, earlier files have lower \ current working directory. Multiple additional ignore files \
precedence than later files."); can be specified by using the --ignore-file flag several times. \
When specifying multiple ignore files, earlier files have lower \
precedence than later files. If you are looking for a way to \
include or exclude files and directories directly used -g instead.");
doc!(h, "follow", doc!(h, "follow",
"Follow symbolic links."); "Follow symbolic links.");
doc!(h, "max-count", doc!(h, "max-count",