diff --git a/crates/core/flags/defs.rs b/crates/core/flags/defs.rs index bbe13483..65e74c54 100644 --- a/crates/core/flags/defs.rs +++ b/crates/core/flags/defs.rs @@ -3898,6 +3898,10 @@ When \flag{multiline} is used, a single match that spans multiple lines is only counted once for the purposes of this limit. Multiple matches in a single line are counted only once, as they would be in non-multiline mode. .sp +When combined with \flag{after-context} or \flag{context}, it's possible for +more matches than the maximum to be printed if contextual lines contain a +match. +.sp Note that \fB0\fP is a legal value but not likely to be useful. When used, ripgrep won't search anything. "