mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-16 22:38:41 +08:00
rptun/ping: print invalid arguments error
This commit is contained in:
@@ -538,6 +538,7 @@ static int cmd_rptun_once(FAR struct nsh_vtbl_s *vtbl,
|
||||
if (argv[3] == 0 || argv[4] == 0 ||
|
||||
argv[5] == 0 || argv[6] == 0)
|
||||
{
|
||||
nsh_error(vtbl, g_fmtargrequired);
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user