summaryrefslogtreecommitdiffstats
path: root/crates
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2020-05-08 08:18:33 -0400
committerAndrew Gallant <jamslam@gmail.com>2020-05-08 23:24:40 -0400
commit9a858e490980d886d94ce0c316a71af3369e8808 (patch)
tree7931148c5d92895ba9fd410e83fdcd51f88adbe5 /crates
parentcbfbe9312faa96d67a68fd61ec3b3fa9d3d74ad8 (diff)
doc: add config file note for --type-{add,clear}
This clarifies that persistence is possible via a configuration file. Fixes #1571
Diffstat (limited to 'crates')
-rw-r--r--crates/core/app.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/app.rs b/crates/core/app.rs
index a2c7c3d6..5aa5760e 100644
--- a/crates/core/app.rs
+++ b/crates/core/app.rs
@@ -2877,7 +2877,7 @@ time. Multiple --type-add flags can be provided. Unless --type-clear is used,
globs are added to any existing globs defined inside of ripgrep.
Note that this MUST be passed to every invocation of ripgrep. Type settings are
-NOT persisted.
+NOT persisted. See CONFIGURATION FILES for a workaround.
Example:
@@ -2915,7 +2915,7 @@ Clear the file type globs previously defined for TYPE. This only clears the
default type definitions that are found inside of ripgrep.
Note that this MUST be passed to every invocation of ripgrep. Type settings are
-NOT persisted.
+NOT persisted. See CONFIGURATION FILES for a workaround.
"
);
let arg = RGArg::flag("type-clear", "TYPE")