mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 06:11:35 +08:00
apps/nshlib: (1) NSH prompt string is now configurable. nsh> is still the default. (2) Increase the default configuration for the maximum number of command line arguments to 7 (CONFIG_NSH_MAXARGUMENTS). This is needed for 'mount' with the -o option.
This commit is contained in:
@@ -259,7 +259,7 @@ const char g_loginfailure[] = "Login failed!\n";
|
||||
|
||||
/* The NSH prompt */
|
||||
|
||||
const char g_nshprompt[] = "nsh> ";
|
||||
const char g_nshprompt[] = CONFIG_NSH_PROMPT_STRING;
|
||||
|
||||
/* Common, message formats */
|
||||
|
||||
|
Reference in New Issue
Block a user