mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 07:12:06 +08:00
nsh: Accept the command line arguments like sh
Usage: nsh [<script-path>|-c <command>] Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ifb76b27e7fd09d26b1f6e48c391fed0972018041
This commit is contained in:

committed by
David Sidrane

parent
78e8090842
commit
9d80399bd5
@@ -325,7 +325,7 @@ int nsh_consolemain(int argc, FAR char *argv[])
|
||||
|
||||
/* Execute the session */
|
||||
|
||||
nsh_session(pstate, true);
|
||||
nsh_session(pstate, true, argc, argv);
|
||||
|
||||
/* We lost the connection. Wait for the keyboard to
|
||||
* be re-connected.
|
||||
|
Reference in New Issue
Block a user