From: Minwoo Im
Date: Fri, 12 Jan 2018 13:10:26 +0000 (+0900)
Subject: nvme-cli: intel: fix smart-log-add documentation
X-Git-Tag: v1.6~119^2
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cebf260dc5b32e1cec455f5bf8fcf45bf3f570aa;p=users%2Fhch%2Fnvme-cli.git
nvme-cli: intel: fix smart-log-add documentation
tim-oleksii has reported that intel smart-log-add help differs from man
page.
Update man, html, and txt documentation to follow output of below
command.
./nvme intel smart-log-add
Signed-off-by: Minwoo Im
---
diff --git a/Documentation/nvme-intel-smart-log-add.1 b/Documentation/nvme-intel-smart-log-add.1
index 20f45d5..9d181a1 100644
--- a/Documentation/nvme-intel-smart-log-add.1
+++ b/Documentation/nvme-intel-smart-log-add.1
@@ -2,12 +2,12 @@
.\" Title: nvme-intel-smart-log-add
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1
-.\" Date: 01/11/2018
+.\" Date: 01/12/2018
.\" Manual: NVMe Manual
.\" Source: NVMe
.\" Language: English
.\"
-.TH "NVME\-INTEL\-SMART\-" "1" "01/11/2018" "NVMe" "NVMe Manual"
+.TH "NVME\-INTEL\-SMART\-" "1" "01/12/2018" "NVMe" "NVMe Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -34,7 +34,7 @@ nvme-intel-smart-log-add \- Send NVMe Intel Additional SMART log page request, r
.nf
\fInvme intel smart\-log\-add\fR [\-\-namespace\-id= | \-n ]
[\-\-raw\-binary | \-b]
- [\-\-output\-format= | \-o ]
+ [\-\-json | \-j]
.fi
.SH "DESCRIPTION"
.sp
@@ -55,12 +55,9 @@ Retrieve the Additional SMART log for the given nsid\&. This is optional and its
Print the raw Intel Additional SMART log buffer to stdout\&.
.RE
.PP
-\-o , \-\-output\-format=
+\-j, \-\-json
.RS 4
-Set the reporting format to
-\fInormal\fR,
-\fIjson\fR, or
-\fIbinary\fR\&. Only one output format can be used at a time\&.
+Dump output in json format\&.
.RE
.SH "EXAMPLES"
.sp
diff --git a/Documentation/nvme-intel-smart-log-add.html b/Documentation/nvme-intel-smart-log-add.html
index 4a58507..081a98a 100644
--- a/Documentation/nvme-intel-smart-log-add.html
+++ b/Documentation/nvme-intel-smart-log-add.html
@@ -750,7 +750,7 @@ nvme-intel-smart-log-add(1) Manual Page
nvme intel smart-log-add <device> [--namespace-id=<nsid> | -n <nsid>]
[--raw-binary | -b]
- [--output-format=<fmt> | -o <fmt>]
+ [--json | -j]
@@ -799,15 +799,14 @@ printed to stdout for another program to parse.
--o <format>
+-j
---output-format=<format>
+--json
- Set the reporting format to normal, json, or
- binary. Only one output format can be used at a time.
+ Dump output in json format.
diff --git a/Documentation/nvme-intel-smart-log-add.txt b/Documentation/nvme-intel-smart-log-add.txt
index 3cb0f9a..932a625 100644
--- a/Documentation/nvme-intel-smart-log-add.txt
+++ b/Documentation/nvme-intel-smart-log-add.txt
@@ -10,7 +10,7 @@ SYNOPSIS
[verse]
'nvme intel smart-log-add' [--namespace-id= | -n ]
[--raw-binary | -b]
- [--output-format= | -o ]
+ [--json | -j]
DESCRIPTION
-----------
@@ -39,10 +39,9 @@ OPTIONS
--raw-binary::
Print the raw Intel Additional SMART log buffer to stdout.
--o ::
---output-format=::
- Set the reporting format to 'normal', 'json', or
- 'binary'. Only one output format can be used at a time.
+-j::
+--json::
+ Dump output in json format.
EXAMPLES
--------