summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-01-11 18:53:35 -0500
committerAndrew Gallant <jamslam@gmail.com>2017-01-11 18:53:35 -0500
commit7a951f103a2abeba5af53905e168a09179704b48 (patch)
tree83cee8bdfd1ce27760db0def305197f2044e67df /doc
parentc3de1f58ea45fec442da21e9e1174e4269f64998 (diff)
Make --column imply --line-number.
Closes #243
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.11
-rw-r--r--doc/rg.1.md3
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index bed7ac65..cbc0c89e 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -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