diff options
author | Alex Burka <aburka@seas.upenn.edu> | 2016-10-11 17:32:51 -0400 |
---|---|---|
committer | Alex Burka <aburka@seas.upenn.edu> | 2016-10-11 17:32:51 -0400 |
commit | 4c3025ab1c11a107ac7d0483d24f0cfefc6cf863 (patch) | |
tree | e1173a7c9b0ff112549d437f059e652c49b5f862 | |
parent | 4981991a6e4d1808d54c8d20fc4d93fcf0c1abfe (diff) |
clarify docs for --threads
-rw-r--r-- | doc/rg.1 | 2 | ||||
-rw-r--r-- | doc/rg.1.md | 2 | ||||
-rw-r--r-- | src/args.rs | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 |