summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-22 00:29:44 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-05-22 00:29:47 +0200
commit63ae25c45d900f47483cf29ec3ceb7be56e8c202 (patch)
treefdaa8960173097ec6e9f3d86ab2a0f9b39e6efa1 /share
parente3e43645b2333c8f3bc4297c0e6ce5b491641823 (diff)
grepc, grepc.1: Remove -tu from the defaults
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>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/grepc.14
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1
index e2d2279..9508f68 100644
--- a/share/man/man1/grepc.1
+++ b/share/man/man1/grepc.1
@@ -8,7 +8,7 @@ grepc \- find C declarations, definitions, and uses in source code
.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 .
@@ -132,7 +132,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 u" .
+.BR "e f m t" .
.TP
.BI \-x " extension"
Restrict the search to files ending with