* doc/grep.texi (Other options): Do the above.
Reported in
https://lists.opensuse.org/opensuse/2017-03/msg00411.html
---
doc/grep.texi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/doc/grep.texi b/doc/grep.texi
index 077c05f..2bc3435 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -730,6 +730,14 @@ directory, recursively, following all symbolic links.
@table @option
+@item --
+@opindex --
+@cindex option delimiter
+Delimit the option list. Later arguments, if any, are treated as
+operands even if they begin with @samp{-}. For example, @samp{grep PAT --
+-file1 file2} searches for the pattern PAT in the files named @file{-file1}
+and @file{file2}.
+
@item --line-buffered
@opindex --line-buffered
@cindex line buffering
--
2.12.0