summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-11-02 16:08:31 +0100
committerAlejandro Colomar <alx@kernel.org>2023-11-03 22:35:56 +0100
commit0fb070c70e24ca4c418b8a552d8cfb36ce005a39 (patch)
treee48d2658ffc8dc6aa6047bea59688a8fdbcde33f /share
parent690c3c37560ce15091f9e67b82db226a9d951d3d (diff)
Remove '-x' option
This program shouldn't know about file extensions. If that is wanted, use something like `find ... | grep ... | xargs grepc ...`. Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/grepc.113
1 files changed, 0 insertions, 13 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1
index 3fd46b6..49a034d 100644
--- a/share/man/man1/grepc.1
+++ b/share/man/man1/grepc.1
@@ -22,12 +22,6 @@ If
.I file
is a directory,
the search is recursive within that directory.
-If
-.I file
-doesn't match a certain extension, it is skipped
-(see
-.B \-x
-in OPTIONS).
If no
.I file
is given,
@@ -164,13 +158,6 @@ This option can be passed multiple times
to search for various types of code.
Default:
.BR "e f m t" .
-.TP
-.BI \-x " extension"
-Restrict the search to files ending with
-.IR extension .
-It is interpreted as a PCRE pattern.
-Default:
-.BR \e.[ch]$ .
.SH EXAMPLES
.EX
.RB \(ti/src/nginx/unit$ " grepc nxt_sprintf;"