ce6250
diff --git a/doc/grep.in.1 b/doc/grep.in.1
ce6250
index f2d4362..f3e416b 100644
ce6250
--- a/doc/grep.in.1
ce6250
+++ b/doc/grep.in.1
ce6250
@@ -377,7 +377,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
ce6250
@@ -390,7 +390,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
ce6250
@@ -403,13 +403,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
ce6250
diff --git a/src/main.c b/src/main.c
ce6250
index e3b5186..145d6a1 100644
ce6250
--- a/src/main.c
ce6250
+++ b/src/main.c
ce6250
@@ -1613,6 +1613,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\