diff options
author | Andrew Gallant <jamslam@gmail.com> | 2017-04-09 08:49:19 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-04-09 08:49:19 -0400 |
commit | 201b4fc757ea3d99458adbe635fbd2c77a3a06f4 (patch) | |
tree | 20c9bbd649ef44be9bf970bb17aa16564f020175 | |
parent | 90a11dec5e5765af560d343e879869a60363ef54 (diff) |
update man page
-rw-r--r-- | doc/rg.1 | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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 |