mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-04 18:18:17 +00:00
cli: rejigger --version to include PCRE2 info
This adds info about whether PCRE2 is available or not to the output of --version. Essentially, --version now subsumes --pcre2-version, although we do retain the former because it (usefully) emits an exit code based on whether PCRE2 is available or not. Closes #2645
This commit is contained in:
parent
038524a580
commit
286de9564e
4 changed files with 44 additions and 25 deletions
|
@ -30,6 +30,7 @@ pub(crate) use crate::flags::{
|
|||
man::generate as generate_man_page,
|
||||
version::{
|
||||
generate_long as generate_version_long,
|
||||
generate_pcre2 as generate_version_pcre2,
|
||||
generate_short as generate_version_short,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue