mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-13 21:26:27 +02:00
update man page
This commit is contained in:
parent
90a11dec5e
commit
201b4fc757
15
doc/rg.1
15
doc/rg.1
@ -299,6 +299,13 @@ Follow symlinks.
|
|||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.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[]
|
.B \-m, \-\-max\-count \f[I]NUM\f[]
|
||||||
Limit the number of matching lines per file searched to NUM.
|
Limit the number of matching lines per file searched to NUM.
|
||||||
.RS
|
.RS
|
||||||
@ -355,7 +362,7 @@ Note that .ignore files will continue to be respected.
|
|||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
.B \-\-null
|
.B \-0, \-\-null
|
||||||
Whenever a file name is printed, follow it with a NUL byte.
|
Whenever a file name is printed, follow it with a NUL byte.
|
||||||
This includes printing filenames before matches, and when printing a
|
This includes printing filenames before matches, and when printing a
|
||||||
list of matching files such as with \-\-count, \-\-files\-with\-matches
|
list of matching files such as with \-\-count, \-\-files\-with\-matches
|
||||||
@ -363,6 +370,12 @@ and \-\-files.
|
|||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.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[]
|
.B \-\-path\-separator \f[I]SEPARATOR\f[]
|
||||||
The path separator to use when printing file paths.
|
The path separator to use when printing file paths.
|
||||||
This defaults to your platform\[aq]s path separator, which is / on Unix
|
This defaults to your platform\[aq]s path separator, which is / on Unix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user