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.ve...@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
 --spares-alarm=::
        Enable or disable the smart spares alarm. Options are 'on' or 'off'.
 
--H::
---health=::
-       Smart attribute for health status. Provide either 'fatal' or 'nominal'
-       to set the state of the attribute.
+-f::
+--fatal::
+       Set the flag to spoof fatal health status.
 
 -U::
---unsafe-shutdown=::
+--unsafe-shutdown::
        Set the flag to spoof an unsafe shutdown on the next power down.
 
 -v::
-- 
2.14.4

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to