mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2026-11-24 12:02:41 +01:00
This allows users to set a default thread count via RIPGREP_THREADS when --threads is not passed on the command line. CLI flags take precedence over the environment variable. I've also added a new "ENVIRONMENT VARIABLES" section to ripgrep's man page. This is the kind of thing I like to see in other tools. It gives a one-stop shop for knowing what one can actually tweak in the environment. They are otherwise often under-documented or too buried. Closes #3317, Ref #3415