Skip to content

Append --pcre2-version info to --version #2645

@ltrzesniewski

Description

@ltrzesniewski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rollupA PR that has been merged with many others in a rollup.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions