summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflip111 <flip101@gmail.com>2017-12-30 22:04:21 +0100
committerAndrew Gallant <jamslam@gmail.com>2017-12-30 16:04:21 -0500
commit03b0d832edb821d2baed81e04fc82a0699935777 (patch)
treee4b0761b86204d62cb4afbfd7fabecbaad9e3a90
parent636bbc7c8f88585bc4aa22aabea47373fe92aa59 (diff)
Update app.rs (#707)
docs: clarify --ignore-file Fixes #684
-rw-r--r--src/app.rs15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/app.rs b/src/app.rs
index 99639634..7a10b354 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -422,12 +422,15 @@ lazy_static! {
and directories are skipped.");
doc!(h, "ignore-file",
"Specify additional ignore files.",
- "Specify additional ignore files for filtering file paths. \
- Ignore files should be in the gitignore format and are matched \
- relative to the current working directory. These ignore files \
- have lower precedence than all other ignore files. When \
- specifying multiple ignore files, earlier files have lower \
- precedence than later files.");
+ "Specify one or more files which contain ignore patterns. \
+ These patterns are applied after the patterns found in \
+ .gitignore and .ignore are applied. Ignore patterns should \
+ be in the gitignore format and are matched relative to the \
+ current working directory. Multiple additional ignore 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",
"Follow symbolic links.");
doc!(h, "max-count",