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:
Xiang Xiao
2018-08-23 07:34:30 -06:00
committed by Gregory Nutt
parent 8116d10da3
commit dbf152cbeb
3 changed files with 10 additions and 17 deletions

View File

@@ -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 */