diff options
author | Andrew Gallant <jamslam@gmail.com> | 2023-11-25 09:13:14 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2023-11-25 15:03:53 -0500 |
commit | 7bb9f35d2d0b02952e20c082b17be856788e5f44 (patch) | |
tree | 956cd772f16e04ba13713658934f235465679221 /crates | |
parent | b138d5740a0e723a84014ce41614a30c44866baa (diff) |
doc: clarify that --pre can accept any kind of path
Fixes #2046
Diffstat (limited to 'crates')
-rw-r--r-- | crates/core/flags/defs.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/core/flags/defs.rs b/crates/core/flags/defs.rs index dbb85779..492e548c 100644 --- a/crates/core/flags/defs.rs +++ b/crates/core/flags/defs.rs @@ -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 |