1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00

State the default case sensitivity

This commit is contained in:
Trent Davis 2017-10-11 09:18:36 +10:00 committed by Andrew Gallant
parent db14046de4
commit cf94072429
3 changed files with 4 additions and 4 deletions

View File

@ -448,8 +448,8 @@ rg\ \[aq]^.*([0\-9]{3}\-[0\-9]{3}\-[0\-9]{4}).*$\[aq]\ \-\-replace\ \[aq]$1\[aq]
.RE .RE
.TP .TP
.B \-s, \-\-case\-sensitive .B \-s, \-\-case\-sensitive
Search case sensitively. Search case sensitively (default).
This overrides \-\-ignore\-case and \-\-smart\-case. Overrides \-\-ignore\-case and \-\-smart\-case.
.RS .RS
.RE .RE
.TP .TP

View File

@ -295,7 +295,7 @@ Project home page: https://github.com/BurntSushi/ripgrep
rg '^.*([0-9]{3}-[0-9]{3}-[0-9]{4}).*$' --replace '$1' rg '^.*([0-9]{3}-[0-9]{3}-[0-9]{4}).*$' --replace '$1'
-s, --case-sensitive -s, --case-sensitive
: Search case sensitively. This overrides --ignore-case and --smart-case. : Search case sensitively (default). Overrides --ignore-case and --smart-case.
-S, --smart-case -S, --smart-case
: Search case insensitively if the pattern is all lowercase. : Search case insensitively if the pattern is all lowercase.

View File

@ -511,7 +511,7 @@ lazy_static! {
is 10M. \n\nThe argument accepts the same size suffixes as \ is 10M. \n\nThe argument accepts the same size suffixes as \
allowed in the 'max-filesize' argument."); allowed in the 'max-filesize' argument.");
doc!(h, "case-sensitive", doc!(h, "case-sensitive",
"Search case sensitively.", "Search case sensitively (default).",
"Search case sensitively. This overrides -i/--ignore-case and \ "Search case sensitively. This overrides -i/--ignore-case and \
-S/--smart-case."); -S/--smart-case.");
doc!(h, "smart-case", doc!(h, "smart-case",