Documentation/NuttShell.html: Another trivial update.
This commit is contained in:
parent
c1fdd2d6b1
commit
300b26d1d8
|
@ -4136,19 +4136,26 @@ set FOOBAR ABC_${FOO}_${BAR}
|
|||
</p>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td valign="top"><b>CMD</b></td>
|
||||
<td valign="top"><b>w/o <code>CONFIG_NSH_VARS</code></b></td>
|
||||
<td valign="top"><b>w/ <code>CONFIG_NSH_VARS</code></b></td>
|
||||
<td valign="top" width="15%"><b>CMD</b></td>
|
||||
<td valign="top" width="30%"><b>w/o <code>CONFIG_NSH_VARS</code></b></td>
|
||||
<td valign="top" width="45%"><b>w/ <code>CONFIG_NSH_VARS</code></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><code>set <a> <b></code></td>
|
||||
<td valign="top">Set environment variable <a> to <b></td>
|
||||
<td valign="top">Set NSH variable <a> to <b></td>
|
||||
<td valign="top">Set NSH variable <a> to <b>
|
||||
(Unless the NSH variable has been <i>promoted</i> via <code>export</code>, in which case the environment variable of the same name is set to <b>).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>unset <a></code></td>
|
||||
<td>Unsets environment variable <a></td>
|
||||
<td>Unsets both environment variable and NSH variable <a></td>
|
||||
<td valign="top"><code>set</code></td>
|
||||
<td valign="top">Causes an error.</td>
|
||||
<td valign="top">Lists all NSH variables.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><code>unset <a></code></td>
|
||||
<td valign="top">Unsets environment variable <a></td>
|
||||
<td valign="top">Unsets both environment variable <i>and</i> NSH variable with and name <a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><code>export <a> <b></code></td>
|
||||
|
@ -4158,12 +4165,12 @@ set FOOBAR ABC_${FOO}_${BAR}
|
|||
<tr>
|
||||
<td valign="top"><code>export <a></code></td>
|
||||
<td valign="top">Causes an error.</td>
|
||||
<td valign="top">Sets environment variable <a> to the value of NSH variable <a> (or "" if undefined). Unsets NSH local variable <a>.</td>
|
||||
<td valign="top">Sets environment variable <a> to the value of NSH variable <a> (or "" if the NSH variable has not been set). Unsets NSH local variable <a>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><code>env</code></td>
|
||||
<td valign="top">Lists all environment variables</td>
|
||||
<td valign="top">Lists all environment variables (only)</td>
|
||||
<td valign="top">Lists all environment variables (<i>only</i>)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue