summaryrefslogtreecommitdiffstats
path: root/text-utils/rev.1
diff options
context:
space:
mode:
authorSami Kerola2011-04-02 18:11:10 +0200
committerKarel Zak2011-04-06 10:59:06 +0200
commit07dcb82d06df7c5996555a97abebc71b74d726ba (patch)
treef17b26e49e35fb98c46472fd7c04bcaf66961e75 /text-utils/rev.1
parentrev: option parsing bug fixed & long options added (diff)
downloadkernel-qcow2-util-linux-07dcb82d06df7c5996555a97abebc71b74d726ba.tar.gz
kernel-qcow2-util-linux-07dcb82d06df7c5996555a97abebc71b74d726ba.tar.xz
kernel-qcow2-util-linux-07dcb82d06df7c5996555a97abebc71b74d726ba.zip
rev: mention long options in man page
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'text-utils/rev.1')
-rw-r--r--text-utils/rev.17
1 files changed, 7 insertions, 0 deletions
diff --git a/text-utils/rev.1 b/text-utils/rev.1
index 5d205c782..db0eecb36 100644
--- a/text-utils/rev.1
+++ b/text-utils/rev.1
@@ -41,6 +41,8 @@
.Nd reverse lines of a file or files
.Sh SYNOPSIS
.Nm rev
+.Op Fl V
+.Op Fl h
.Op Ar file ...
.Sh DESCRIPTION
The
@@ -48,6 +50,11 @@ The
utility copies the specified files to the standard output, reversing the
order of characters in every line.
If no files are specified, the standard input is read.
+.Bl -tag -width Ds
+.It Fl V, Fl Fl version
+Output version information and exit.
+.It Fl h, Fl Fl help
+Output help and exit.
.Sh AVAILABILITY
The rev command is part of the util-linux package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.