diff options
author | Eric Nielsen <eric@amalgamar.com.br> | 2017-05-25 17:04:45 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-05-25 18:58:11 -0400 |
commit | 2c98e5ce1eec741bf55df655c74b9d64ee5c7703 (patch) | |
tree | d0e05a85be6395321070ab06d35df47762e3427d /doc | |
parent | 1e3fc79949501141367d8257f24bdd93a001acb0 (diff) |
Update documentation for --color ansi
In `src/app.rs`, change typo "When ansi used" to "When ansi is used".
Update man pages with missing `ansi` option for `--color`.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 4 | ||||
-rw-r--r-- | doc/rg.1.md | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -43,8 +43,8 @@ Only show count of line matches for each file. .RE .TP .B \-\-color \f[I]WHEN\f[] -Whether to use coloring in match. -Valid values are never, always or auto. +Whether to use color in the output. +Valid values are never, auto, always or ansi. [default: auto] .RS .RE diff --git a/doc/rg.1.md b/doc/rg.1.md index 41c91b5e..77c41280 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -36,8 +36,8 @@ Project home page: https://github.com/BurntSushi/ripgrep : Only show count of line matches for each file. --color *WHEN* -: Whether to use coloring in match. Valid values are never, always or auto. - [default: auto] +: Whether to use color in the output. Valid values are never, auto, always or + ansi. [default: auto] -e, --regexp *PATTERN* ... : Use PATTERN to search. This option can be provided multiple times, where all |