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