rptun: update rptun cmd usage

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2022-03-31 20:11:09 +08:00
committed by Xiang Xiao
parent f5d2c64556
commit 470174260c
2 changed files with 12 additions and 16 deletions

View File

@@ -470,8 +470,9 @@ static const struct cmdmap_s g_cmdmap[] =
#endif
#if defined(CONFIG_RPTUN) && !defined(CONFIG_NSH_DISABLE_RPTUN)
{ "rptun", cmd_rptun, 2, 6,
"start|stop|reset|panic|dump|ping [dev-path] [value|times length ack]" },
{ "rptun", cmd_rptun, 3, 6,
"<start|stop|reset|panic|dump|ping> <path|all> "
"[value|times length ack]" },
#endif
#ifndef CONFIG_NSH_DISABLE_SET