summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-04-09 08:49:19 -0400
committerAndrew Gallant <jamslam@gmail.com>2017-04-09 08:49:19 -0400
commit201b4fc757ea3d99458adbe635fbd2c77a3a06f4 (patch)
tree20c9bbd649ef44be9bf970bb17aa16564f020175
parent90a11dec5e5765af560d343e879869a60363ef54 (diff)
update man page
-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