Skip to contentSkip to conversation

ndctl, inject-smart: Fix man page to match the current behavior

PATCH New Vishal Verma 1 participant 1 message Jul 27, 2018

Subsystems (2)
lore
Share & tools
lore

Vishal Verma

author maintainer
#0 lore raw

PATCH 1/1 ndctl, inject-smart: Fix man page to match the current behavior

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.

---
 Documentation/ndctl/ndctl-inject-smart.txt | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
Documentation/ndctl/ndctl-inject-smart.txt +4 -5
index 0dc6481..20a1621 100644
@@ -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::
Signature · 6 lines
2.14.4

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm