summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCosmin Lehene <clehene@gmail.com>2018-02-18 14:53:10 -0800
committerAndrew Gallant <jamslam@gmail.com>2018-02-18 17:53:10 -0500
commitc749b604dc2276cf64c792de742aa34ea9fbadec (patch)
treef0f44464951284d8188d00cccb636397546fd883 /src
parentd6748a34457c3bd2eca8f9a731303cfadf8a292a (diff)
doc: clarify --ignore-file flag
Fixes #684
Diffstat (limited to 'src')
-rw-r--r--src/app.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/app.rs b/src/app.rs
index 16356d70..327e9bb3 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -1000,12 +1000,12 @@ This flag overrides -s/--case-sensitive and -S/--smart-case.
fn flag_ignore_file(args: &mut Vec<RGArg>) {
const SHORT: &str = "Specify additional ignore files.";
const LONG: &str = long!("\
-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.
+Specifies a path to one or more .gitignore format rules files. These patterns
+are applied after the patterns found in .gitignore and .ignore are applied
+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 on the command line, then used -g instead.