diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 8 | ||||
-rw-r--r-- | doc/rg.1.md | 6 |
2 files changed, 14 insertions, 0 deletions
@@ -335,6 +335,14 @@ Follow symlinks. .RS .RE .TP +.B \-\-line\-number\-width \f[I]NUM\f[] +Specify a width for the displayed line number. +If number of digits in the line number is less than this number, it is +left padded with spaces. +Note: This setting has no effect if \-\-no\-line\-number is enabled. +.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 diff --git a/doc/rg.1.md b/doc/rg.1.md index 36c912c6..bbc0207e 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -222,6 +222,12 @@ Project home page: https://github.com/BurntSushi/ripgrep -L, --follow : Follow symlinks. +--line-number-width *NUM* +: Specify a width for the displayed line number. If number of digits + in the line number is less than this number, it is left padded with + spaces. Note: This setting has no effect if --no-line-number is + enabled. + -M, --max-columns *NUM* : Don't print lines longer than this limit in bytes. Longer lines are omitted, and only the number of matches in that line is printed. |