ripgrep: add --pcre2-version flag

This flag will output details about the version of PCRE2 that ripgrep
is using (if any).
This commit is contained in:
Andrew Gallant
2019-04-14 16:46:02 -04:00
parent a9d71a0368
commit da9d720431
5 changed files with 58 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ _rg() {
+ '(exclusive)' # Misc. fully exclusive options
'(: * -)'{-h,--help}'[display help information]'
'(: * -)'{-V,--version}'[display version information]'
'(: * -)'--pcre2-version'[print the version of PCRE2 used by ripgrep, if available]'
+ '(buffered)' # buffering options
'--line-buffered[force line buffering]'