From 4c3025ab1c11a107ac7d0483d24f0cfefc6cf863 Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Tue, 11 Oct 2016 17:32:51 -0400 Subject: [PATCH] clarify docs for --threads --- doc/rg.1 | 2 +- doc/rg.1.md | 2 +- src/args.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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