summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2017-04-09 09:08:49 -0400
committerAndrew Gallant <jamslam@gmail.com>2017-04-09 09:08:49 -0400
commite9df420d2f653519e266969f8a91a6c64aaa0b41 (patch)
treec282a67de2c1471144ec6c133a4b9b6c065f4d1e /doc
parent201b4fc757ea3d99458adbe635fbd2c77a3a06f4 (diff)
Add ability to colorize column numbers.
Fixes #377
Diffstat (limited to 'doc')
-rw-r--r--doc/rg.12
-rw-r--r--doc/rg.1.md6
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index 49023417..5e068c28 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -181,7 +181,7 @@ Styles are limited to nobold, bold, nointense or intense.
.RS
.PP
The format of the flag is {type}:{attribute}:{value}.
-{type} should be one of path, line or match.
+{type} should be one of path, line, column or match.
{attribute} can be fg, bg or style.
Value is either a color (for fg and bg) or a text style.
A special format, {type}:none, will clear all color settings for {type}.
diff --git a/doc/rg.1.md b/doc/rg.1.md
index 42191024..1cd9c771 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -123,9 +123,9 @@ Project home page: https://github.com/BurntSushi/ripgrep
black. Styles are limited to nobold, bold, nointense or intense.
The format of the flag is {type}:{attribute}:{value}. {type} should be one
- of path, line or match. {attribute} can be fg, bg or style. Value is either
- a color (for fg and bg) or a text style. A special format, {type}:none,
- will clear all color settings for {type}.
+ of path, line, column or match. {attribute} can be fg, bg or style. Value
+ is either a color (for fg and bg) or a text style. A special format,
+ {type}:none, will clear all color settings for {type}.
For example, the following command will change the match color to magenta
and the background color for line numbers to yellow: