ce6250
diff --git a/doc/grep.in.1 b/doc/grep.in.1
501f9e
index 40c9586..a4e89eb 100644
ce6250
--- a/doc/grep.in.1
ce6250
+++ b/doc/grep.in.1
501f9e
@@ -335,7 +335,7 @@ Print
ce6250
 .I NUM
ce6250
 lines of trailing context after matching lines.
ce6250
 Places a line containing a group separator
ce6250
-.RB ( \-\^\- )
ce6250
+.RB "(described under " \-\^\-group\-separator )
ce6250
 between contiguous groups of matches.
ce6250
 With the
ce6250
 .B \-o
501f9e
@@ -348,7 +348,7 @@ Print
ce6250
 .I NUM
ce6250
 lines of leading context before matching lines.
ce6250
 Places a line containing a group separator
ce6250
-.RB ( \-\^\- )
ce6250
+.RB "(described under " \-\^\-group\-separator )
ce6250
 between contiguous groups of matches.
ce6250
 With the
ce6250
 .B \-o
501f9e
@@ -361,13 +361,24 @@ Print
ce6250
 .I NUM
ce6250
 lines of output context.
ce6250
 Places a line containing a group separator
ce6250
-.RB ( \-\^\- )
ce6250
+.RB "(described under " \-\^\-group\-separator )
ce6250
 between contiguous groups of matches.
ce6250
 With the
ce6250
 .B \-o
ce6250
 or
ce6250
 .B \-\^\-only\-matching
ce6250
 option, this has no effect and a warning is given.
ce6250
+.TP
ce6250
+.BI \-\^\-group\-separator= SEP
ce6250
+Use
ce6250
+.I SEP
ce6250
+as a group separator. By default
ce6250
+.I SEP
ce6250
+is double hyphen
ce6250
+.RB ( \-\^\- ).
ce6250
+.TP
ce6250
+.B \-\^\-no\-group-separator
ce6250
+Use empty string as a group separator.
ce6250
 .SS "File and Directory Selection"
ce6250
 .TP
ce6250
 .BR \-a ", " \-\^\-text
6c1ddd
diff --git a/src/grep.c b/src/grep.c
501f9e
index 8d22aec..a2de03d 100644
6c1ddd
--- a/src/grep.c
6c1ddd
+++ b/src/grep.c
501f9e
@@ -1986,6 +1986,8 @@ Context control:\n\
ce6250
 "));
ce6250
       printf (_("\
ce6250
   -NUM                      same as --context=NUM\n\
ce6250
+      --group-separator=SEP use SEP as a group separator\n\
ce6250
+      --no-group-separator  use empty string as a group separator\n\
ce6250
       --color[=WHEN],\n\
ce6250
       --colour[=WHEN]       use markers to highlight the matching strings;\n\
ce6250
                             WHEN is 'always', 'never', or 'auto'\n\