NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line

This commit is contained in:
Gregory Nutt 2014-01-10 15:23:26 -06:00
parent 3805abcde5
commit 3bb8d74893

View File

@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
<p>Last Updated: December 5, 2013</p>
<p>Last Updated: January 10, 2014</p>
</td>
</tr>
</table>
@ -543,6 +543,11 @@ nsh&gt;
The default niceness is 10.
</p>
<p>
<b>Multiple commands per line</b>.
NSH will accept multiple commands per command line with each command separated with the semi-colon character (;).
</p>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
@ -2650,6 +2655,13 @@ nsh>
Default: 80
</td>
</tr>
<tr>
<td valign="top"><b><code>CONFIG_NSH_DISABLE_SEMICOLON</code></b></td>
<td>
By default, you can enter multiple NSH commands on a line with each command separated by a semicolon.
You can disable this feature to save a little memory on FLASH challenged platforms.
Default: n
</td>
</tr>
<tr>
<td valign="top"><b><code>CONFIG_NSH_NESTDEPTH</code></b></td>