[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26139: [PATCH] doc: document the option delimiter '--'
From: |
Bernhard Voelker |
Subject: |
bug#26139: [PATCH] doc: document the option delimiter '--' |
Date: |
Fri, 17 Mar 2017 11:42:10 +0100 |
* 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
address@hidden --
address@hidden --
address@hidden 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#26139: [PATCH] doc: document the option delimiter '--',
Bernhard Voelker <=