diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c index e3ebe17af..33fe42db3 100644 --- a/nshlib/nsh_syscmds.c +++ b/nshlib/nsh_syscmds.c @@ -612,16 +612,18 @@ static int cmd_rpmsg_help(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv) { nsh_output(vtbl, "%s \n", argv[0]); +#ifdef CONFIG_RPMSG_PING nsh_output(vtbl, "%s ping " "\n\n", argv[0]); - nsh_output(vtbl, " Times of rptun ping.\n"); + nsh_output(vtbl, " Number of ping operations.\n"); nsh_output(vtbl, " The length of each ping packet.\n"); nsh_output(vtbl, " Whether the peer acknowlege or " "check data.\n"); nsh_output(vtbl, " 0 - No acknowledge and check.\n"); nsh_output(vtbl, " 1 - Acknowledge, no data check.\n"); nsh_output(vtbl, " 2 - Acknowledge and data check.\n"); - nsh_output(vtbl, " ping period (ms) \n"); + nsh_output(vtbl, " Sleep interval between two operations.\n"); +#endif nsh_output(vtbl, " Rpmsg device path.\n\n"); return OK; }