diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-11 19:51:46 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-11 21:19:38 +0200 |
commit | f417552f109cff273293be848b79813ee60110b4 (patch) | |
tree | b05ff5f851a7c3b2a60dbb3e4c995157588c9130 /share | |
parent | 4c4f042196f907f42fd06612c7037716246ae5ae (diff) |
grepc, grepc.1: -g: Add option to restrict search to files tracked by git
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man1/grepc.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1 index 88502a5..6caaeb5 100644 --- a/share/man/man1/grepc.1 +++ b/share/man/man1/grepc.1 @@ -16,6 +16,9 @@ but it is actually a PCRE pattern, so it can be used to find complex patterns. .SH OPTIONS .TP +.B \-g +Restrict the search to files tracked by git. +.TP .B \-h Output a help message and exit. .TP @@ -57,6 +60,7 @@ Originally written by Alejandro Colomar .ME . .SH SEE ALSO +.MR git-ls-files 1 , .MR pcregrep 1 , .MR pcresyntax 3 , .MR pcrepattern 3 |