mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
doc: add config file note for --type-{add,clear}
This clarifies that persistence is possible via a configuration file. Fixes #1571
This commit is contained in:
parent
cbfbe9312f
commit
9a858e4909
@ -4,6 +4,8 @@ Bug fixes:
|
|||||||
|
|
||||||
* [BUG #1537](https://github.com/BurntSushi/ripgrep/issues/1537):
|
* [BUG #1537](https://github.com/BurntSushi/ripgrep/issues/1537):
|
||||||
Fix match bug caused by inner literal optimization.
|
Fix match bug caused by inner literal optimization.
|
||||||
|
* [BUG #1571](https://github.com/BurntSushi/ripgrep/issues/1571):
|
||||||
|
Add note about configuration files in `--type-{add,clear}` docs.
|
||||||
* [BUG #1573](https://github.com/BurntSushi/ripgrep/issues/1573):
|
* [BUG #1573](https://github.com/BurntSushi/ripgrep/issues/1573):
|
||||||
Fix incorrect `--count-matches` output when using look-around.
|
Fix incorrect `--count-matches` output when using look-around.
|
||||||
|
|
||||||
|
@ -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.
|
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
|
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:
|
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.
|
default type definitions that are found inside of ripgrep.
|
||||||
|
|
||||||
Note that this MUST be passed to every invocation of ripgrep. Type settings are
|
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")
|
let arg = RGArg::flag("type-clear", "TYPE")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user