From 985b5cda4750a8a033ebb4162cbb65f1eaed93ba Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Fri, 24 Jul 2020 18:56:21 +0000 Subject: sg_turs: estimated time-to-ready, add --delay=MS option; sg_requests: cleanup; sg_pt: add partial_clear_scsi_pt_obj, get_scsi_pt_cdb_len and get_scsi_pt_cdb_buf git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@857 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- doc/sg_turs.8 | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/sg_turs.8 b/doc/sg_turs.8 index 6bf8d9cd..bc6b4fde 100644 --- a/doc/sg_turs.8 +++ b/doc/sg_turs.8 @@ -1,14 +1,14 @@ -.TH SG_TURS "8" "September 2019" "sg3_utils\-1.45" SG3_UTILS +.TH SG_TURS "8" "July 2020" "sg3_utils\-1.46" SG3_UTILS .SH NAME sg_turs \- send one or more SCSI TEST UNIT READY commands .SH SYNOPSIS .B sg_turs -[\fI\-\-help\fR] [\fI\-\-low\fR] [\fI\-\-num=NUM\fR] [\fI\-\-number=NUM\fR] -[\fI\-\-progress\fR] [\fI\-\-time\fR] [\fI\-\-verbose\fR] [\fI\-\-version\fR] -\fIDEVICE\fR +[\fI\-\-delay=MS\fR] [\fI\-\-help\fR] [\fI\-\-low\fR] [\fI\-\-num=NUM\fR] +[\fI\-\-number=NUM\fR] [\fI\-\-progress\fR] [\fI\-\-time\fR] +[\fI\-\-verbose\fR] [\fI\-\-version\fR] \fIDEVICE\fR .PP .B sg_turs -[\fI\-n=NUM\fR] [\fI\-p\fR] [\fI\-t\fR] [\fI\-v\fR] [\fI\-V\fR] +[\fI\-d=MS\fR] [\fI\-n=NUM\fR] [\fI\-p\fR] [\fI\-t\fR] [\fI\-v\fR] [\fI\-V\fR] \fIDEVICE\fR .SH DESCRIPTION .\" Add any additional description here @@ -24,6 +24,10 @@ on the old command line syntax outlines the second group of options. .SH OPTIONS Arguments to long options are mandatory for short options as well. .TP +\fB\-d\fR, \fB\-\-delay\fR=\fIMS\fR +this option causes a delay of \fIMS\fR milliseconds to occur before each +TEST UNIT READY command is issued. +.TP \fB\-h\fR, \fB\-\-help\fR print out the usage message then exit. .TP @@ -55,6 +59,8 @@ Switch to older style options. Please use as first option. show progress indication (a percentage) if available. If \fI\-\-num=NUM\fR is given, \fINUM\fR is greater than 1 and an initial progress indication was detected then this utility waits 30 seconds before subsequent checks. +If the \fI\-\-delay=MS\fR option is given then it will wait for that number +of milliseconds instead of 30 seconds. Exits when \fINUM\fR is reached or there are no more progress indications. Ignores \fI\-\-time\fR option. See NOTES section below. .TP @@ -101,6 +107,10 @@ options which can be overridden by using \fI\-\-old\fR (or \fI\-O\fR) as the first option. See the ENVIRONMENT VARIABLES section for another way to force the use of these older command line options. .TP +\fB\-d\fR, \fB\-\-delay\fR=\fIMS\fR +this option causes a delay of \fIMS\fR milliseconds to occur before each +TEST UNIT READY command is issued. +.TP \fB\-n\fR=\fINUM\fR performs TEST UNIT READY \fINUM\fR times. If not given defaults to 1. Equivalent to \fI\-\-num=NUM\fR in the main description. @@ -130,7 +140,7 @@ using \fI\-\-old\fR (or \fI\-O\fR) as the first command line option. .SH AUTHORS Written by D. Gilbert .SH COPYRIGHT -Copyright \(co 2000\-2019 Douglas Gilbert +Copyright \(co 2000\-2020 Douglas Gilbert .br This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- cgit v1.2.3