diff --git a/doc/rg.1 b/doc/rg.1 index 1b34674..9841c27 100644 --- a/doc/rg.1 +++ b/doc/rg.1 @@ -448,8 +448,8 @@ rg\ \[aq]^.*([0\-9]{3}\-[0\-9]{3}\-[0\-9]{4}).*$\[aq]\ \-\-replace\ \[aq]$1\[aq] .RE .TP .B \-s, \-\-case\-sensitive -Search case sensitively. -This overrides \-\-ignore\-case and \-\-smart\-case. +Search case sensitively (default). +Overrides \-\-ignore\-case and \-\-smart\-case. .RS .RE .TP diff --git a/doc/rg.1.md b/doc/rg.1.md index a069691..8009f69 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -295,7 +295,7 @@ Project home page: https://github.com/BurntSushi/ripgrep rg '^.*([0-9]{3}-[0-9]{3}-[0-9]{4}).*$' --replace '$1' -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 : Search case insensitively if the pattern is all lowercase. diff --git a/src/app.rs b/src/app.rs index 615b21d..9f5a18b 100644 --- a/src/app.rs +++ b/src/app.rs @@ -511,7 +511,7 @@ lazy_static! { is 10M. \n\nThe argument accepts the same size suffixes as \ allowed in the 'max-filesize' argument."); doc!(h, "case-sensitive", - "Search case sensitively.", + "Search case sensitively (default).", "Search case sensitively. This overrides -i/--ignore-case and \ -S/--smart-case."); doc!(h, "smart-case",