- update man page (#948457)
This commit is contained in:
parent
c19d00d3f9
commit
f207f3394b
63
mt-st-1.1-man.patch
Normal file
63
mt-st-1.1-man.patch
Normal file
@ -0,0 +1,63 @@
|
||||
From 78c0868407b59bbfdd1301fe5c1b57831b53c26e Mon Sep 17 00:00:00 2001
|
||||
From: Jan Chaloupka <jchaloup@redhat.com>
|
||||
Date: Thu, 21 Aug 2014 12:46:44 +0200
|
||||
Subject: [PATCH] mt missing options section
|
||||
|
||||
---
|
||||
mt.1 | 33 ++++++++++++++++++---------------
|
||||
1 file changed, 18 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/mt.1 b/mt.1
|
||||
index 8ff5b63..7dccdee 100644
|
||||
--- a/mt.1
|
||||
+++ b/mt.1
|
||||
@@ -13,21 +13,7 @@ performs the given
|
||||
which must be one of the tape operations listed below, on a tape
|
||||
drive. The commands can also be listed by running the program with the
|
||||
.I \-h
|
||||
-option. The version of mt is printed with the
|
||||
-.I \-v
|
||||
-or
|
||||
-.I \-\-version
|
||||
-option. The path of the tape device on which to operate can be given with
|
||||
-the
|
||||
-.I \-f
|
||||
-or
|
||||
-.I \-t
|
||||
-option. If neither of those options is given, and the environment
|
||||
-variable
|
||||
-.B TAPE
|
||||
-is set, it is used. Otherwise, a default device defined in the file
|
||||
-.I /usr/include/sys/mtio.h
|
||||
-is used.
|
||||
+option.
|
||||
.PP
|
||||
Some operations optionally take an argument or repeat count, which can be given
|
||||
after the operation name and defaults to 1. The postfix
|
||||
@@ -275,6 +261,23 @@ set the cleaning request interpretation parameters.
|
||||
exits with a status of 0 if the operation succeeded, 1 if the
|
||||
operation or device name given was invalid, or 2 if the operation
|
||||
failed.
|
||||
+.SH OPTIONS
|
||||
+.TP
|
||||
+.B \-h, \-\-help
|
||||
+Print a usage message on standard output and exit successfully.
|
||||
+.TP
|
||||
+.B \-v, \-\-version
|
||||
+Print version of mt.
|
||||
+.TP
|
||||
+.B \-f, \-t
|
||||
+The path of the tape device on which to operate.
|
||||
+If neither of those options is given,
|
||||
+and the environment variable
|
||||
+.B TAPE
|
||||
+is set, it is used.
|
||||
+Otherwise, a default device defined in the file
|
||||
+.I /usr/include/sys/mtio.h
|
||||
+is used.
|
||||
.SH AUTHOR
|
||||
The program is written by Kai Makisara <Kai.Makisara@kolumbus.fi>.
|
||||
.SH COPYRIGHT
|
||||
--
|
||||
1.9.3
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: Tool for controlling tape drives
|
||||
Name: mt-st
|
||||
Version: 1.1
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
License: GPL+
|
||||
Group: Applications/System
|
||||
URL: ftp://ftp.ibiblio.org/pub/linux/system/backup
|
||||
@ -14,6 +14,7 @@ Patch3: mt-st-0.9b-manfix.patch
|
||||
Patch4: mt-st-1.1-mtio.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=948457
|
||||
Patch5: mt-st-1.1-options.patch
|
||||
Patch6: mt-st-1.1-man.patch
|
||||
BuildRequires: systemd
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
@ -35,6 +36,7 @@ Install mt-st if you need a tool to manage tape drives.
|
||||
%patch3 -p1 -b .manfix
|
||||
%patch4 -p1 -b .mtio
|
||||
%patch5 -p1 -b .options
|
||||
%patch6 -p1 -b .man
|
||||
|
||||
# fix encoding
|
||||
f=README.stinit
|
||||
@ -71,6 +73,9 @@ install -D -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/stinit.service
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 22 2014 Dan Horák <dan[at]danny.cz> - 1.1-15
|
||||
- update man page (#948457)
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user