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:04 +0200 |
commit | 06a6f7b4582fcf0209d0b78b267ca5daab2a6731 (patch) | |
tree | bc5ae2ddab47ba53c64464ab83c03a9deca6f345 /share | |
parent | 8c691b0ce92fb079154544d79673f678195d98f1 (diff) |
grepc, grepc.1: -h: Add option to print the usage message.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man1/grepc.1 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1 index ce53aa3..02fb715 100644 --- a/share/man/man1/grepc.1 +++ b/share/man/man1/grepc.1 @@ -3,6 +3,7 @@ grepc \- find C declarations and definitions in source code .SH SYNOPSIS .B grepc +.RI [ option ] .I identifier .SH DESCRIPTION .MR grepc 1 @@ -13,6 +14,10 @@ in all .c and .h files under the current working directory. is normally a C identifier, but it is actually a PCRE pattern, so it can be used to find complex patterns. +.SH OPTIONS +.TP +.B \-h +Output a help message and exit. .SH EXAMPLES .EX .RB \(ti/src/nginx/unit$ " grepc nxt_sprintf;" |