summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2016-10-11 19:27:11 -0400
committerGitHub <noreply@github.com>2016-10-11 19:27:11 -0400
commit4d29d886e55aef28eec51f712aca19d523d60732 (patch)
treea8bf1ef1978ca82662cab22e929db876b2078e1c
parent247a9398f4dd1903ed561aa1bb2ba088a70c5a79 (diff)
parent4c3025ab1c11a107ac7d0483d24f0cfefc6cf863 (diff)
Merge pull request #168 from durka/doc-threads
clarify docs for --threads
-rw-r--r--doc/rg.12
-rw-r--r--doc/rg.1.md2
-rw-r--r--src/args.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/rg.1 b/doc/rg.1
index c0a32b0a..8a7da679 100644
--- a/doc/rg.1
+++ b/doc/rg.1
@@ -277,7 +277,7 @@ This is overridden by either \-\-case\-sensitive or \-\-ignore\-case.
.TP
.B \-j, \-\-threads \f[I]ARG\f[]
The number of threads to use.
-Defaults to the number of logical CPUs (capped at 6).
+0 means use the number of logical CPUs (capped at 6).
[default: 0]
.RS
.RE
diff --git a/doc/rg.1.md b/doc/rg.1.md
index 0dd4e88b..be8c2501 100644
--- a/doc/rg.1.md
+++ b/doc/rg.1.md
@@ -180,7 +180,7 @@ the raw speed of grep.
--case-sensitive or --ignore-case.
-j, --threads *ARG*
-: The number of threads to use. Defaults to the number of logical CPUs
+: The number of threads to use. 0 means use the number of logical CPUs
(capped at 6). [default: 0]
--version
diff --git a/src/args.rs b/src/args.rs
index 95bd5102..012d9150 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -182,7 +182,7 @@ Less common options:
either --case-sensitive or --ignore-case.
-j, --threads ARG
- The number of threads to use. Defaults to the number of logical CPUs
+ The number of threads to use. 0 means use the number of logical CPUs
(capped at 6). [default: 0]
--version