From 7dd4b28950da4fe2e322a7bd0ffd6f21bceb1113 Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Tue, 29 Oct 2024 14:44:00 +0800 Subject: [PATCH] netpkt_ethercat.c: fix the description of usage the current usage description is incorrect, ifname must follow ethercat. The number of transfers can be specified only after ifname is specified. Signed-off-by: zhanghongyu --- examples/netpkt/netpkt_ethercat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/netpkt/netpkt_ethercat.c b/examples/netpkt/netpkt_ethercat.c index 8899db84c..9d0a17012 100644 --- a/examples/netpkt/netpkt_ethercat.c +++ b/examples/netpkt/netpkt_ethercat.c @@ -40,7 +40,7 @@ static void usage(void) { - printf("usage: netpkt_ethercat <[ifname] >\n"); + printf("usage: netpkt_ethercat [ [times]]\n"); } /****************************************************************************