doc: clarify that --pre can accept any kind of path

Fixes #2046
This commit is contained in:
Andrew Gallant
2023-11-25 09:13:14 -05:00
parent b138d5740a
commit 7bb9f35d2d
2 changed files with 5 additions and 3 deletions

View File

@@ -5359,9 +5359,9 @@ impl Flag for Pre {
fn doc_long(&self) -> &'static str {
r#"
For each input \fIPATH\fP, this flag causes ripgrep to search the standard
output of \fICOMMAND\fP \fIPATH\fP instead of the contents of \fIPATH\fP. This
option expects the \fICOMMAND\fP program to either be an absolute path or to
be available in your \fBPATH\fP. Either an empty string \fICOMMAND\fP or the
output of \fICOMMAND\fP \fIPATH\fP instead of the contents of \fIPATH\fP.
This option expects the \fICOMMAND\fP program to either be a path or to be
available in your \fBPATH\fP. Either an empty string \fICOMMAND\fP or the
\fB\-\-no\-pre\fP flag will disable this behavior.
.sp
.TP 12