nvdimm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [ndctl PATCH] ndctl, inject-smart: Fix man page to match the current behavior
@ 2018-07-27 18:36 Vishal Verma
  0 siblings, 0 replies; only message in thread
From: Vishal Verma @ 2018-07-27 18:36 UTC (permalink / raw)
  To: linux-nvdimm

The inject-smart man page had a -H option for health status, which was
from a previous development iteration, and not how it actually works.
Fix it to advertise a -f flag for setting fatal status, and remove an
unnecessart '=' from the unsafe-shutdown option as it doesn't accept any
additional arguments.

Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
 Documentation/ndctl/ndctl-inject-smart.txt | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/Documentation/ndctl/ndctl-inject-smart.txt b/Documentation/ndctl/ndctl-inject-smart.txt
index 0dc6481..20a1621 100644
--- a/Documentation/ndctl/ndctl-inject-smart.txt
+++ b/Documentation/ndctl/ndctl-inject-smart.txt
@@ -77,13 +77,12 @@ OPTIONS
 	Enable or disable the smart spares alarm. Options are 'on' or 'off'.
-	Smart attribute for health status. Provide either 'fatal' or 'nominal'
-	to set the state of the attribute.
+	Set the flag to spoof fatal health status.
 	Set the flag to spoof an unsafe shutdown on the next power down.

Linux-nvdimm mailing list

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-27 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27 18:36 [ndctl PATCH] ndctl, inject-smart: Fix man page to match the current behavior Vishal Verma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).