Normally, one either wants to see a declaration/definition, or its
uses, but not both at the same time. Also, there are usually many
more use sites than than definitions, and therefore definitions
are shadowed between all the noise. Restrict the default to
declarations and definitions, which in my experience seems to be
the most common use case.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
grepc_func "$1";
grepc_macro "$1";
grepc_type "$1";
- grepc_use "$1";
}
.RI [ file\~ .\|.\|.]
.SH DESCRIPTION
.MR grepc 1
-searches for C declarations, definitions, and uses of
+searches for C declarations, definitions, and/or uses of
.I pattern
in each
.IR file .
This option can be passed multiple times
to search for various types of code.
Default:
-.BR "e f m t u" .
+.BR "e f m t" .
.TP
.BI \-x " extension"
Restrict the search to files ending with