summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-13 17:17:45 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-05-13 17:22:27 +0200
commit3342a8422ba72e4df937262a688ecc174eb9099f (patch)
tree83f23b1f5719260c68a19c515d286f6aa7e984c8 /share
parent44156f8553271c7b29a3fc02f718a278dd4dc194 (diff)
grepc, grepc.1: Add -tu to search for uses
Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/grepc.19
1 files changed, 8 insertions, 1 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1
index 8bae0ee..b54b020 100644
--- a/share/man/man1/grepc.1
+++ b/share/man/man1/grepc.1
@@ -50,6 +50,13 @@ Macro definitions.
.TP
.B t
Type definitions.
+.TP
+.B u
+Uses.
+Searches occurences of
+.BI \eb identifier \eb
+within function bodies and macro replacements,
+and prints the whole functions and/or macros.
.SH OPTIONS
.TP
.B \-g
@@ -70,7 +77,7 @@ of code (see Types of code under DESCRIPTION).
This option can be passed multiple times
to search for various types of code.
Default:
-.BR "e f m t" .
+.BR "e f m t u" .
.TP
.BI \-x " extension"
Restrict the search to files ending with