mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-04-14 00:58:43 +02:00
ripgrep: add warning to --pre flag
The --pre flag can result in a pretty large performance penalty, so put a warning in the flag documentation. This warning is important because a flag like this could easily wind up in a user's configuration file.
This commit is contained in:
parent
231456c409
commit
c96a358593
@ -1473,6 +1473,10 @@ contents of FILE. This option expects the COMMAND program to either be an
|
||||
absolute path or to be available in your PATH. An empty string COMMAND
|
||||
deactivates this feature.
|
||||
|
||||
WARNING: When this flag is set, ripgrep will unconditionally spawn a process
|
||||
for every file that is searched. Therefore, this can incur a large performance
|
||||
penalty if you don't otherwise need the flexibility offered by this flag.
|
||||
|
||||
A preprocessor is not run when ripgrep is searching stdin.
|
||||
|
||||
When searching over sets of files that may require one of several decoders
|
||||
|
Loading…
x
Reference in New Issue
Block a user