diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-11 19:51:46 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-11 21:19:37 +0200 |
commit | 4c4f042196f907f42fd06612c7037716246ae5ae (patch) | |
tree | 4ae33fdc3425cff554660e8c1041496427d8df5c /share | |
parent | 06a6f7b4582fcf0209d0b78b267ca5daab2a6731 (diff) |
grepc, grepc.1: -x: Add option to edit file extension
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man1/grepc.1 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1 index 02fb715..88502a5 100644 --- a/share/man/man1/grepc.1 +++ b/share/man/man1/grepc.1 @@ -3,7 +3,7 @@ grepc \- find C declarations and definitions in source code .SH SYNOPSIS .B grepc -.RI [ option ] +.RI [ option " ...]" .I identifier .SH DESCRIPTION .MR grepc 1 @@ -18,6 +18,13 @@ so it can be used to find complex patterns. .TP .B \-h Output a help message and exit. +.TP +.BI \-x " extension" +Restrict the search to files ending with +.IR extension . +It is interpreted as a PCRE pattern. +Default: +.RB \(dq \e.[ch]$ \(dq. .SH EXAMPLES .EX .RB \(ti/src/nginx/unit$ " grepc nxt_sprintf;" |