The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command

This commit is contained in:
Gregory Nutt 2015-07-04 11:39:57 -06:00
parent 638f0329fe
commit 588f20558e

View File

@ -2320,11 +2320,11 @@ sh <script-path>
<p><b>Command Syntax:</b></p>
<ul><pre>
shutdown [--reset]
shutdown [--reboot]
</pre></ul>
<p>
<b>Synopsis</b>.
Shutdown and power off the system or, optionally, reset the system immediately.
Shutdown and power off the system or, optionally, reset and reboot the system immediately.
This command depends on hardware support to power down or reset the system; one, both, or neither behavior may be supported.
</p>