summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKevin Locke <kevin@kevinlocke.name>2021-04-16 16:30:16 -0600
committerJim Meyering <meyering@fb.com>2021-08-06 22:15:26 -0700
commit1a8c7e0a8e762c303969ea95d3e482d69a4b2240 (patch)
treeb23d05df8778583920066bd0571df7175d8c3121 /doc
parent743be2c498b768db1dea3fc624c17d789b9ba308 (diff)
downloadgrep-1a8c7e0a8e762c303969ea95d3e482d69a4b2240.tar.gz
doc: man: add --group-separator/--no-group-separator
* doc/grep.in.1: Add copy of docs for --group-separator from doc/grep.texi. Add copy of docs for --no-group-separator from doc/grep.texi.
Diffstat (limited to 'doc')
-rw-r--r--doc/grep.in.120
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 341d6780..e8854f2a 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -483,6 +483,26 @@ With the
or
.B \-\^\-only\-matching
option, this has no effect and a warning is given.
+.TP
+.BI \-\^\-group\-separator= SEP
+When
+.BR \-A ,
+.BR \-B ,
+or
+.B \-C
+are in use, print
+.I SEP
+instead of
+.B \-\^\-
+between groups of lines.
+.TP
+.B \-\^\-no\-group\-separator
+When
+.BR \-A ,
+.BR \-B ,
+or
+.B \-C
+are in use, do not print a separator between groups of lines.
.SS "File and Directory Selection"
.TP
.BR \-a ", " \-\^\-text