diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2017-03-17 11:42:10 +0100 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2017-10-13 08:42:44 -0700 |
commit | 672aa245f0d76c6ef692752365d2771211535e71 (patch) | |
tree | d37105aec542385baf9dd00a83462af1b7b242c3 /doc | |
parent | dbc56ef15883f9a5f6340833ed0fc5d53061771c (diff) | |
download | grep-672aa245f0d76c6ef692752365d2771211535e71.tar.gz |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/grep.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/grep.texi b/doc/grep.texi index 865acf12..e61cc200 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 |