Documentation/NuttShell.html: Add a little more information for the NSH set command.
This commit is contained in:
parent
faefa6cd9f
commit
4eeba49507
@ -2998,6 +2998,13 @@ nsh>
|
|||||||
The local <i>Bash</i> variable would that then shadow the environment variable with a differing value.
|
The local <i>Bash</i> variable would that then shadow the environment variable with a differing value.
|
||||||
</small></blockquote>
|
</small></blockquote>
|
||||||
</p>
|
</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>
|
<p>
|
||||||
Set the <i>exit on error control</i> and/or <i>print a trace</i> of commands when parsing scripts in NSH.
|
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.
|
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.
|
||||||
|
@ -57,8 +57,7 @@
|
|||||||
* Name: env_foreach
|
* Name: env_foreach
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Search the provided environment structure for the variable of the
|
* Visit each name-value pair in the environment.
|
||||||
* specified name.
|
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* group - The task group containing environment array to be searched.
|
* group - The task group containing environment array to be searched.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user