From: Keith Busch
Date: Wed, 26 Oct 2016 19:41:29 +0000 (-0400)
Subject: Document timeout value usage
X-Git-Tag: v1.0~9
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=102327639ee09ad8437b7e9d3ccb824f6f1deacd;p=users%2Fsagi%2Fnvme-cli.git
Document timeout value usage
Add to man page and clarify value is in milliseconds.
Signed-off-by: Keith Busch
---
diff --git a/Documentation/nvme-format.1 b/Documentation/nvme-format.1
index fbde4b88..a161c0bb 100644
--- a/Documentation/nvme-format.1
+++ b/Documentation/nvme-format.1
@@ -2,12 +2,12 @@
.\" Title: nvme-format
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1
-.\" Date: 10/21/2016
+.\" Date: 10/26/2016
.\" Manual: NVMe Manual
.\" Source: NVMe
.\" Language: English
.\"
-.TH "NVME\-FORMAT" "1" "10/21/2016" "NVMe" "NVMe Manual"
+.TH "NVME\-FORMAT" "1" "10/26/2016" "NVMe" "NVMe Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -39,6 +39,7 @@ nvme-format \- Format an NVMe device
[\-\-pi= | \-i ]
[\-\-ms= | \-m ]
[\-\-reset | \-r ]
+ [\-\-timeout | \-t ]
.fi
.SH "DESCRIPTION"
.sp
@@ -157,6 +158,11 @@ Metadata Settings: This field is set to \(oq1\(cq if the metadata is transferred
.RS 4
Issue a reset after successful format\&. Must use the character device for this\&.
.RE
+.PP
+\-t , \-\-timeout=
+.RS 4
+Override default timeout value\&. In milliseconds\&.
+.RE
.SH "EXAMPLES"
.sp
.RS 4
diff --git a/Documentation/nvme-format.html b/Documentation/nvme-format.html
index e047511e..f20e2427 100644
--- a/Documentation/nvme-format.html
+++ b/Documentation/nvme-format.html
@@ -752,7 +752,8 @@ nvme-format(1) Manual Page
[--pil=<pil> | -p <pil>]
[--pi=<pi> | -i <pi>]
[--ms=<ms> | -m <ms>]
- [--reset | -r ]
+ [--reset | -r ]
+ [--timeout | -t ]
@@ -946,6 +947,17 @@ cellspacing="0" cellpadding="4">
device for this.
+
+-t <timeout>
+
+
+--timeout=<timeout>
+
+
+
+ Override default timeout value. In milliseconds.
+
+
@@ -985,7 +997,7 @@ information: