apps: added pid list for ps command.

Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
This commit is contained in:
zhushiqshi
2024-02-27 14:18:08 +08:00
committed by GUIDINGLI
parent c98439f9a1
commit a655e067ef
2 changed files with 16 additions and 4 deletions

View File

@@ -474,7 +474,8 @@ static const struct cmdmap_s g_cmdmap[] =
#endif
#ifndef CONFIG_NSH_DISABLE_PS
CMD_MAP("ps", cmd_ps, 1, 1, NULL),
CMD_MAP("ps", cmd_ps, 1, CONFIG_NSH_MAXARGUMENTS,
"<pid1 pid2 ...>"),
#endif
#ifdef CONFIG_NET_UDP