Documentation: remove non-existent CONFIG_NSH_TMPDIR from docs

This commit is contained in:
Juha Niskanen 2018-04-17 05:55:57 -06:00 committed by Gregory Nutt
parent 862ff9cae3
commit 8814533e78

View File

@ -3905,20 +3905,13 @@ nsh>
The entity to be executed is identified by enclosing the command line in back quotes.
For example,
<ul><pre>
set FOO `myprogram $BAR
set FOO `myprogram $BAR`
</pre></ul>
will execute the program named <code>myprogram </code> passing it the value of the environment variable <code>BAR</code>.
The value of the environment variable <code>FOO</code> is then set output of <code>myprogram</code> on <code>stdout</code>. Because this feature commits significant resources, it is disabled by default.
</td>
</tr>
<tr>
<td valign="top"><b><code>CONFIG_NSH_TMPDIR</code></b></td>
<td>
If <code>CONFIG_NSH_CMDPARMS</code> is selected, then function output will be retained
in a temporary file. In that case, this string must be provided to
specify the full path to a directory where temporary files can be
created. This would be a good application of RAM disk: To provide
temporary storage for function output.
The <code>CONFIG_NSH_CMDPARMS</code> interim output will be retained in a temporary file.
Full path to a directory where temporary files can be created is taken from <code>CONFIG_LIBC_TMPDIR</code> and it defaults to <code>/tmp</code> if <code>CONFIG_LIBC_TMPDIR</code> is not set.
</td>
</tr>
<tr>
@ -5526,7 +5519,6 @@ xxd -i romfs_img >nsh_romfsimg.h
</ul></td>
<td width="33%" valign="top">
<ul>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_TMPDIR</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_USBCONDEV</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_USBCONSOLE</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_UBSDEV_MINOR</code></a></li>
@ -5578,7 +5570,7 @@ xxd -i romfs_img >nsh_romfsimg.h
<li><a href="#cmdls"><code>ls</code></a></li>
<li><a href="#cmdmbhw"><code>mb</code></a></li>
<li><a href="#nshlogin">Login</a></li>
<li><a href="#verifymethods">Login, Credentials</a></li>
<li><a href="#verifymethods">Login, credentials</a></li>
<li><a href="#cmdlsmod"><code>lsmod</code></a></li>
<li><a href="#cmdmd5"><code>md5</code></a></li>
<li><a href="#cmdmbhw"><code>mh</code></a></li>
@ -5592,11 +5584,11 @@ xxd -i romfs_img >nsh_romfsimg.h
<li><a href="#cmdmv"><code>mv</code></a></li>
<li><a href="#cmdnfsmount"><code>nfsmount</code></a></li>
<li><a href="#cmdoverview"><code>nice</code></a></li>
<li><a href="#custonshlib">NSH library (<code>nshlib</code>)</a></li>
<li><a href="#nshlibrary">NSH library (<code>nshlib</code>)</a></li>
<li><a href="#custonshlib">NSH library (<code>nshlib</code>), initialization</a></li>
</ul></td>
<td width="34%" valign="top">
<ul>
<li><a href="#nshlibrary">NSH library (<code>nshlib</code>)</a></li>
<li><a href="#custonshlib"><code>nsh_consolemain()</code></a></li>
<li><a href="#custonshlib"><code>nsh_initialize()</code></a></li>
<li><a href="#custonshlib"><code>nsh_main()</code></a></li>
@ -5628,8 +5620,8 @@ xxd -i romfs_img >nsh_romfsimg.h
<li><a href="#cmdrm"><code>rm</code></a></li>
<li><a href="#cmdrmdir"><code>rmdir</code></a></li>
<li><a href="#cmdrmmod"><code>rmmod</code></a></li>
<li><a href="#custinit">ROMFS, Modifying the ROMFS image</a></li>
<li><a href="#passwdromfs">ROMFS, Password File</a></li>
<li><a href="#custinit">ROMFS, modifying the ROMFS image</a></li>
<li><a href="#passwdromfs">ROMFS, password File</a></li>
<li><a href="#cmdroute"><code>route</code></a></li>
<li><a href="#cmdset"><code>set</code></a></li>
<li><a href="#cmdsh"><code>sh</code></a></li>