mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 05:39:05 +00:00
Emit a warning if number of arguments to builtin or file app can be truncated
This commit is contained in:
parent
4db4ea2bbd
commit
eaddb9059f
1 changed files with 6 additions and 0 deletions
|
|
@ -454,6 +454,12 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NSH_BUILTIN_APPS) || defined(CONFIG_NSH_FILE_APPS)
|
||||
# if CONFIG_NSH_MAXARGUMENTS > CONFIG_MAX_TASK_ARGS
|
||||
# warning Number of built-in and file task arguments will be truncated to CONFIG_MAX_TASK_ARGS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Argument list size
|
||||
*
|
||||
* argv[0]: The command name.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue