diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-24 21:51:04 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-24 21:51:04 -0400 |
commit | 1595f0faf594be5d303b1783857d23a0fda74230 (patch) | |
tree | 054c7c5c6981a14bb1ce80512e9ed4690007ddc2 /doc | |
parent | 8eeb0c0b60da59828a48d995e969bdba5816ea31 (diff) |
Add --smart-case.
It does what it says on the tin.
Closes #70.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1 | 6 | ||||
-rw-r--r-- | doc/rg.1.md | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -238,6 +238,12 @@ Alias for \-\-color=always \-\-heading \-n. .RS .RE .TP +.B \-S, \-\-smart\-case +Search case insensitively if the pattern is all lowercase. +Search case sensitively otherwise. +.RS +.RE +.TP .B \-j, \-\-threads \f[I]ARG\f[] The number of threads to use. Defaults to the number of logical CPUs (capped at 6). diff --git a/doc/rg.1.md b/doc/rg.1.md index f87c25c0..b9f68968 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -154,6 +154,10 @@ the raw speed of grep. -p, --pretty : Alias for --color=always --heading -n. +-S, --smart-case +: Search case insensitively if the pattern is all lowercase. + Search case sensitively otherwise. + -j, --threads *ARG* : The number of threads to use. Defaults to the number of logical CPUs (capped at 6). [default: 0] |