mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
nsh kill cmd can be executed with no signal option.
SIGTERM is the default signal, as in unix kill command. nsh> kill [-<signal>] <pid>
This commit is contained in:

committed by
Alan Carvalho de Assis

parent
61ddfeba17
commit
42f4565129
@@ -261,7 +261,7 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NSH_DISABLE_KILL
|
||||
{ "kill", cmd_kill, 3, 3, "-<signal> <pid>" },
|
||||
{ "kill", cmd_kill, 2, 3, "[-<signal>] <pid>" },
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
|
Reference in New Issue
Block a user