diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index 5bc9713d13f..54019b33cef 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
NuttShell (NSH)
- Last Updated: April 11, 2015
+ Last Updated: July 4, 2015
|
@@ -311,91 +311,103 @@
|
- 2.38 Send File Via TFTP (put)
+ 2.38 Shut the system down (poweroff)
|
|
- 2.39 Show Current Working Directory (pwd)
+ 2.39 Send File Via TFTP (put)
|
|
- 2.40 Remove a File (rm)
+ 2.40 Show Current Working Directory (pwd)
|
|
- 2.41 Remove a Directory (rmdir)
+ 2.41 Reset and reboot the system (reboot)
|
|
- 2.42 Set an Environment Variable (set)
+ 2.42 Remove a File (rm)
|
|
- 2.43 Execute an NSH Script (sh)
+ 2.43 Remove a Directory (rmdir)
|
|
- 2.44 Shut the system down (shutdown)
+ 2.44 Set an Environment Variable (set)
|
|
- 2.45 Wait for Seconds (sleep)
+ 2.45 Execute an NSH Script (sh)
|
|
- 2.46 Unmount a File System (umount)
+ 2.46 Shut the system down (shutdown)
|
|
- 2.47 Unset an Environment Variable (unset)
+ 2.47 Wait for Seconds (sleep)
|
|
- 2.48 URL Decode (urldecode)
+ 2.48 Unmount a File System (umount)
|
|
- 2.49 URL Encode (urlencode)
+ 2.49 Unset an Environment Variable (unset)
|
|
- 2.50 Wait for Microseconds (usleep)
+ 2.50 URL Decode (urldecode)
|
|
- 2.51 Get File Via HTTP (wget)
+ 2.51 URL Encode (urlencode)
|
|
- 2.52 Hexadecimal Dump of Memory (xd)
+ 2.52 Wait for Microseconds (usleep)
+ |
+
+
+
|
+
+ 2.53 Get File Via HTTP (wget)
+ |
+
+
+
|
+
+ 2.54 Hexadecimal Dump of Memory (xd)
|
@@ -2134,7 +2146,29 @@ nsh>
+
+Command Syntax:
+
+poweroff
+
+
+ Synopsis.
+ Shutdown and power off the system immediately.
+ This command depends on hardware support to power down the system.
+
+
+ NOTE: Supporting both the poweroff and shutdown commands is redundant.
+
+
+
+
@@ -2169,7 +2203,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
@@ -2199,7 +2233,29 @@ nsh>
+
+Command Syntax:
+
+reboot
+
+
+ Synopsis.
+ Reset and reboot the system immediately.
+ This command depends on hardware support to reset the system.
+
+
+
+ NOTE: Supporting both the reboot and shutdown commands is redundant.
+
+
+
@@ -2233,7 +2289,7 @@ nsh>
@@ -2268,7 +2324,7 @@ nsh>
@@ -2294,7 +2350,7 @@ nsh>
@@ -2313,7 +2369,7 @@ sh <script-path>
@@ -2327,11 +2383,14 @@ shutdown [--reboot]
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.
+
+ NOTE: The shutdown command duplicates the behavior of the poweroff and eboot commands.
+
@@ -2348,7 +2407,7 @@ sleep <sec>
@@ -2378,7 +2437,7 @@ nsh>
@@ -2404,7 +2463,7 @@ nsh>
@@ -2421,7 +2480,7 @@ urldecode [-f] <string or filepath>
@@ -2438,7 +2497,7 @@ urlencode [-f] <string or filepath>
@@ -2455,7 +2514,7 @@ usleep <usec>
@@ -2482,7 +2541,7 @@ wget [-o <local-path>] <url>
@@ -2737,6 +2796,11 @@ nsh>
CONFIG_NET_ICMPv6_PING && !CONFIG_DISABLE_SIGNALS
CONFIG_NSH_DISABLE_PING6 |
+
+ poweroff |
+ CONFIG_BOARDCTL_POWEROFF |
+ CONFIG_NSH_DISABLE_POWEROFF |
+
ps |
|
@@ -2753,6 +2817,11 @@ nsh>
!CONFIG_DISABLE_ENVIRON && CONFIG_NFILE_DESCRIPTORS > 0 |
CONFIG_NSH_DISABLE_PWD |
+
+ reboot |
+ CONFIG_BOARD_RESET |
+ CONFIG_NSH_DISABLE_REBOOT |
+
rm |
(((!CONFIG_DISABLE_MOUNTPOINT && CONFIG_FS_WRITABLE) || !CONFIG_DISABLE_PSEUDOFS_OPERATIONS) && CONFIG_NFILE_DESCRIPTORS > 0)4 |
@@ -4285,10 +4354,10 @@ mount -t vfat /dev/ram1 /tmp
mh
mw
mkdir
+ mkfatfs
|