diff --git a/doc/rg.1 b/doc/rg.1 index c0a32b0ac..8a7da6799 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 0dd4e88b6..be8c25010 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 95bd5102e..012d91502 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