From 78c0868407b59bbfdd1301fe5c1b57831b53c26e Mon Sep 17 00:00:00 2001 From: Jan Chaloupka 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.man_page_upd1 b/mt.1 index 8ff5b63..7dccdee 100644 --- a/mt.1.man_page_upd1 +++ 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 . .SH COPYRIGHT -- 1.9.3