This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 31421db6f rptun/ping: print invalid arguments error
31421db6f is described below
commit 31421db6fac13b71fc4ef064ef562b951f31535d
Author: raiden00pl <[email protected]>
AuthorDate: Sun Aug 20 10:08:55 2023 +0200
rptun/ping: print invalid arguments error
---
nshlib/nsh_syscmds.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c
index 9943924ab..371142c65 100644
--- a/nshlib/nsh_syscmds.c
+++ b/nshlib/nsh_syscmds.c
@@ -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;
}