diff options
author | Andrew Gallant <jamslam@gmail.com> | 2017-01-11 18:53:35 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-01-11 18:53:35 -0500 |
commit | 7a951f103a2abeba5af53905e168a09179704b48 (patch) | |
tree | 83cee8bdfd1ce27760db0def305197f2044e67df /doc | |
parent | c3de1f58ea45fec442da21e9e1174e4269f64998 (diff) |
Make --column imply --line-number.
Closes #243
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 1 | ||||
-rw-r--r-- | doc/rg.1.md | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -183,6 +183,7 @@ Show column numbers (1 based) in output. This only shows the column numbers for the first match on each line. Note that this doesn\[aq]t try to account for Unicode. One byte is equal to one column. +This implies \-\-line\-number. .RS .RE .TP diff --git a/doc/rg.1.md b/doc/rg.1.md index 5e0f7031..8804fcc5 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -126,7 +126,8 @@ Project home page: https://github.com/BurntSushi/ripgrep --column : Show column numbers (1 based) in output. This only shows the column numbers for the first match on each line. Note that this doesn't try - to account for Unicode. One byte is equal to one column. + to account for Unicode. One byte is equal to one column. This implies + --line-number. --context-separator *SEPARATOR* : The string to use when separating non-continuous context lines. Escape |