mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
rptun/ping: print invalid arguments error
This commit is contained in:
parent
4739b18cb1
commit
31421db6fa
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue