summaryrefslogtreecommitdiffstats
path: root/doc/rg.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rg.1')
-rw-r--r--doc/rg.115
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index e5d4323c..49023417 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -299,6 +299,13 @@ Follow symlinks.
.RS
.RE
.TP
+.B \-M, \-\-max\-columns \f[I]NUM\f[]
+Don\[aq]t print lines longer than this limit in bytes.
+Longer lines are omitted, and only the number of matches in that line is
+printed.
+.RS
+.RE
+.TP
.B \-m, \-\-max\-count \f[I]NUM\f[]
Limit the number of matching lines per file searched to NUM.
.RS
@@ -355,7 +362,7 @@ Note that .ignore files will continue to be respected.
.RS
.RE
.TP
-.B \-\-null
+.B \-0, \-\-null
Whenever a file name is printed, follow it with a NUL byte.
This includes printing filenames before matches, and when printing a
list of matching files such as with \-\-count, \-\-files\-with\-matches
@@ -363,6 +370,12 @@ and \-\-files.
.RS
.RE
.TP
+.B \-o, \-\-only\-matching
+Print only the matched (non\-empty) parts of a matching line, with each
+such part on a separate output line.
+.RS
+.RE
+.TP
.B \-\-path\-separator \f[I]SEPARATOR\f[]
The path separator to use when printing file paths.
This defaults to your platform\[aq]s path separator, which is / on Unix