ce6250
diff --git a/doc/grep.in.1 b/doc/grep.in.1
02c652
index 91c0bca..d2cf00a 100644
ce6250
--- a/doc/grep.in.1
ce6250
+++ b/doc/grep.in.1
02c652
@@ -464,7 +464,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
02c652
@@ -477,7 +477,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
02c652
@@ -490,13 +490,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
15ff98
index de7616a..a530988 100644
6c1ddd
--- a/src/grep.c
6c1ddd
+++ b/src/grep.c
15ff98
@@ -2047,6 +2047,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\