Documentation/NuttShell.html: Add a little more information for the NSH set command.

This commit is contained in:
Gregory Nutt 2018-10-02 11:57:39 -06:00
parent faefa6cd9f
commit 4eeba49507
2 changed files with 8 additions and 2 deletions

View File

@ -2998,6 +2998,13 @@ nsh>
The local <i>Bash</i> variable would that then shadow the environment variable with a differing value.
</small></blockquote>
</p>
<p>
If <code>CONFIG_NSH_VARS=y</code> is selected and no arguments are provided, then the <code>set</code> command will list all of the local NSH variables.
</p>
<ul><pre>
nsh> set
foolbar=foovalue
</pre></ul>
<p>
Set the <i>exit on error control</i> and/or <i>print a trace</i> of commands when parsing scripts in NSH.
The settings are in effect from the point of execution, until they are changed again, or in the case of the initialization script, the settings are returned to the default settings when it exits.

View File

@ -57,8 +57,7 @@
* Name: env_foreach
*
* Description:
* Search the provided environment structure for the variable of the
* specified name.
* Visit each name-value pair in the environment.
*
* Input Parameters:
* group - The task group containing environment array to be searched.