This is a really minor "feature" request, but I figured it's the right time to ask it since you're already moving stuff around in #2626 🙂
It would be nice to have all the info about ripgrep's build be output when --version is called, including the PCRE2 info without having to call --pcre2-version in a second step.
This may require changing the "JIT is available" message a bit to make it clear it's about the PCRE2 JIT, or just put everything in a single line such as: PCRE2 10.42 +JIT
I wondered why there's a separate --pcre2-version option in the first place, then I noticed it returns an error code when PCRE2 is unavailable, so I suppose this option will need to be kept as-is.
I can send a PR if you'd like after you're done with #2626.
This is a really minor "feature" request, but I figured it's the right time to ask it since you're already moving stuff around in #2626 🙂
It would be nice to have all the info about ripgrep's build be output when
--versionis called, including the PCRE2 info without having to call--pcre2-versionin a second step.This may require changing the "JIT is available" message a bit to make it clear it's about the PCRE2 JIT, or just put everything in a single line such as:
PCRE2 10.42 +JITI wondered why there's a separate
--pcre2-versionoption in the first place, then I noticed it returns an error code when PCRE2 is unavailable, so I suppose this option will need to be kept as-is.I can send a PR if you'd like after you're done with #2626.