|
|
c2a259 |
From be2eaa3f702607d7e30508d93d33a74473daacbd Mon Sep 17 00:00:00 2001
|
|
|
c2a259 |
From: Jan Chaloupka <jchaloup@redhat.com>
|
|
|
c2a259 |
Date: Mon, 29 Sep 2014 21:50:10 +0200
|
|
|
c2a259 |
Subject: [PATCH] mt missing options section
|
|
|
c2a259 |
|
|
|
c2a259 |
---
|
|
|
c2a259 |
mt-st/man1/mt.1 | 33 ++++++++++++++++++---------------
|
|
|
c2a259 |
1 file changed, 18 insertions(+), 15 deletions(-)
|
|
|
c2a259 |
|
|
|
c2a259 |
diff --git a/mt-st/man1/mt.1 b/mt-st/man1/mt.1
|
|
|
c2a259 |
index 8ff5b63..7dccdee 100644
|
|
|
c2a259 |
--- a/mt-st/man1/mt.1
|
|
|
c2a259 |
+++ b/mt-st/man1/mt.1
|
|
|
c2a259 |
@@ -13,21 +13,7 @@ performs the given
|
|
|
c2a259 |
which must be one of the tape operations listed below, on a tape
|
|
|
c2a259 |
drive. The commands can also be listed by running the program with the
|
|
|
c2a259 |
.I \-h
|
|
|
c2a259 |
-option. The version of mt is printed with the
|
|
|
c2a259 |
-.I \-v
|
|
|
c2a259 |
-or
|
|
|
c2a259 |
-.I \-\-version
|
|
|
c2a259 |
-option. The path of the tape device on which to operate can be given with
|
|
|
c2a259 |
-the
|
|
|
c2a259 |
-.I \-f
|
|
|
c2a259 |
-or
|
|
|
c2a259 |
-.I \-t
|
|
|
c2a259 |
-option. If neither of those options is given, and the environment
|
|
|
c2a259 |
-variable
|
|
|
c2a259 |
-.B TAPE
|
|
|
c2a259 |
-is set, it is used. Otherwise, a default device defined in the file
|
|
|
c2a259 |
-.I /usr/include/sys/mtio.h
|
|
|
c2a259 |
-is used.
|
|
|
c2a259 |
+option.
|
|
|
c2a259 |
.PP
|
|
|
c2a259 |
Some operations optionally take an argument or repeat count, which can be given
|
|
|
c2a259 |
after the operation name and defaults to 1. The postfix
|
|
|
c2a259 |
@@ -275,6 +261,23 @@ set the cleaning request interpretation parameters.
|
|
|
c2a259 |
exits with a status of 0 if the operation succeeded, 1 if the
|
|
|
c2a259 |
operation or device name given was invalid, or 2 if the operation
|
|
|
c2a259 |
failed.
|
|
|
c2a259 |
+.SH OPTIONS
|
|
|
c2a259 |
+.TP
|
|
|
c2a259 |
+.B \-h, \-\-help
|
|
|
c2a259 |
+Print a usage message on standard output and exit successfully.
|
|
|
c2a259 |
+.TP
|
|
|
c2a259 |
+.B \-v, \-\-version
|
|
|
c2a259 |
+Print version of mt.
|
|
|
c2a259 |
+.TP
|
|
|
c2a259 |
+.B \-f, \-t
|
|
|
c2a259 |
+The path of the tape device on which to operate.
|
|
|
c2a259 |
+If neither of those options is given,
|
|
|
c2a259 |
+and the environment variable
|
|
|
c2a259 |
+.B TAPE
|
|
|
c2a259 |
+is set, it is used.
|
|
|
c2a259 |
+Otherwise, a default device defined in the file
|
|
|
c2a259 |
+.I /usr/include/sys/mtio.h
|
|
|
c2a259 |
+is used.
|
|
|
c2a259 |
.SH AUTHOR
|
|
|
c2a259 |
The program is written by Kai Makisara <Kai.Makisara@kolumbus.fi>.
|
|
|
c2a259 |
.SH COPYRIGHT
|
|
|
c2a259 |
--
|
|
|
c2a259 |
1.9.3
|
|
|
c2a259 |
|