summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-05 16:39:18 -0500
committerPaolo Bonzini <bonzini@gnu.org>2010-03-06 09:31:21 +0100
commit496193f777e3c9b868f83129b3e4cac464009e13 (patch)
tree2b8bb0e6b94c2e6d0cbdf9bf966a1d6392326e7b /doc
parent5be8690bd8e385d37154d54f23918aa3a57bb992 (diff)
downloadgrep-496193f777e3c9b868f83129b3e4cac464009e13.tar.gz
grep(1) man page: touchup --label option
* doc/grep.1 (--label): Don't italicize ending period. Point to -H option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/grep.17
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/grep.1 b/doc/grep.1
index e990272e..6c220cf9 100644
--- a/doc/grep.1
+++ b/doc/grep.1
@@ -313,11 +313,14 @@ This is the default when there is only one file
.TP
.BI \-\^\-label= LABEL
Display input actually coming from standard input as input coming from file
-.I LABEL.
+.IR LABEL .
This is especially useful when implementing tools like
.BR zgrep ,
e.g.,
-.B "gzip -cd foo.gz | grep --label=foo -H something"
+.BR "gzip -cd foo.gz | grep --label=foo -H something" .
+See also the
+.B \-H
+option.
.TP
.BR \-n ", " \-\^\-line\-number
Prefix each line of output with the 1-based line number