Update NSH documentation; Add option to reduce size of help commnd without completely eliminating it

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5009 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-08-04 22:17:37 +00:00
parent 8e9e6b1103
commit ad9fbd5e95

View File

@ -1046,12 +1046,27 @@ get [-b|-n] [-f <local-path>] -h <ip-address> <remote-path>
<p><b>Command Syntax:</b></p> <p><b>Command Syntax:</b></p>
<ul><pre> <ul><pre>
help help [-v] [&lt;cmd&gt;]
</pre></ul> </pre></ul>
<p> <p>
<b>Synopsis</b>. <b>Synopsis</b>.
Presents summary information about each command to console. Presents summary information about NSH commands to console.
</p> </p>
<p><b>Options:</b></p>
<ul><table>
<tr>
<td><b><code>-v</code></b></td>
<td>
how verbose output will full command usage.
</td>
</tr>
<tr>
<td><b><code>&lt;cmd&gt;</code></b></td>
<td>
Show full command usage only for this command.
</td>
</tr>
</table></ul>
<table width ="100%"> <table width ="100%">
<tr bgcolor="#e4e4e4"> <tr bgcolor="#e4e4e4">
@ -2031,7 +2046,7 @@ nsh>
<td><code>CONFIG_NSH_DISABLE_GET</code></td> <td><code>CONFIG_NSH_DISABLE_GET</code></td>
</tr> </tr>
<tr> <tr>
<td><b><code>help</code></b></td> <td><b><code>help</code></b><sup>5</sup></td>
<td><br></td> <td><br></td>
<td><code>CONFIG_NSH_DISABLE_HELP</code></td> <td><code>CONFIG_NSH_DISABLE_HELP</code></td>
</tr> </tr>
@ -2192,6 +2207,10 @@ nsh>
<sup>4</sup><small> <sup>4</sup><small>
<code>CONFIG_FS_WRITABLE</code> is not a user configuration but is set automatically <code>CONFIG_FS_WRITABLE</code> is not a user configuration but is set automatically
if any writable filesystem is selected. At present, this is only <code>CONFIG_FS_FAT</code>.</small><br> if any writable filesystem is selected. At present, this is only <code>CONFIG_FS_FAT</code>.</small><br>
<sup>5</sup><small>
Verbose help output can be suppressed by defining <code>CONFIG_NSH_HELP_TERSE</code>.
In that case, the help command is still available but will be slightly smaller.
</small>
</p> </p>
<table width ="100%"> <table width ="100%">