ce6250
diff --git a/doc/grep.in.1 b/doc/grep.in.1
8cacf1
index 9d0d494..735b462 100644
ce6250
--- a/doc/grep.in.1
ce6250
+++ b/doc/grep.in.1
8cacf1
@@ -451,7 +451,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
8cacf1
@@ -464,7 +464,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
8cacf1
@@ -477,13 +477,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
8cacf1
index 9fb5e92..5b05969 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\