diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-11-05 13:23:29 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-11-05 17:12:39 +0100 |
commit | ab07b22a4dd31ccb9beef150fd478c1f8ce6bf31 (patch) | |
tree | 93b3c42624a4d104c2f68c957965efa17b098249 /share | |
parent | bc6d82d8172cfa743438e441cef0f2e59aed2f19 (diff) |
bin/grepc, grepc.1: Rename option -c to -r
This leaves -c unused, so we can add -c with the same meaning of
grep(1): count.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man1/grepc.1 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1 index 11e3774..7845255 100644 --- a/share/man/man1/grepc.1 +++ b/share/man/man1/grepc.1 @@ -137,10 +137,6 @@ Print .I n lines of context surrounding a match. .TP -.B \-c -Surround the matched strings -with escape sequences to display them in color on the terminal. -.TP .B \-h Suppress the prefixing of file names on output. .TP @@ -163,6 +159,11 @@ Each file is only printed once. Prefix each line of output with the 1-based line number within its input file. .TP +.B \-r +.RI (colo r ) +Surround the matched strings +with escape sequences to display them in color on the terminal. +.TP .BI \-t " type" Restrict the search to a specific .I type |