This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via 672aa245f0d76c6ef692752365d2771211535e71 (commit)
from dbc56ef15883f9a5f6340833ed0fc5d53061771c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=672aa245f0d76c6ef692752365d2771211535e71
commit 672aa245f0d76c6ef692752365d2771211535e71
Author: Bernhard Voelker <[email protected]>
Date: Fri Mar 17 11:42:10 2017 +0100
doc: document the option delimiter '--'
* doc/grep.texi (Other options): Do the above.
Reported in https://lists.opensuse.org/opensuse/2017-03/msg00411.html
This addresses http://bugs.gnu.org/26139
diff --git a/doc/grep.texi b/doc/grep.texi
index 865acf1..e61cc20 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -737,6 +737,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
-----------------------------------------------------------------------
Summary of changes:
doc/grep.texi | 8 ++++++++
1 file changed, 8 insertions(+)
hooks/post-receive
--
grep