summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-10 12:42:01 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-10 12:44:17 +0200
commita7cb1672865ebabe4b989a916bc610f7f4399297 (patch)
tree89ade63f8657660824cc81d08ea7c0f024a5cd96 /share
parent507d15a704587aea544b32cc9dc02086b93b8122 (diff)
bin/, man/: -m: Add flag, and pass it to pcre2grep(1)HEADmain
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/grepc.15
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1
index e1236c7..fd2c8e1 100644
--- a/share/man/man1/grepc.1
+++ b/share/man/man1/grepc.1
@@ -159,6 +159,11 @@ instead print the name of each input file
from which output would normally have been printed.
Each file is only printed once.
.TP
+.B \-m \~n
+Stop processing after finding
+.I n
+matches.
+.TP
.B \-n
Prefix each line of output with the
1-based line number within its input file.