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 7dd4b2895 netpkt_ethercat.c: fix the description of usage
7dd4b2895 is described below
commit 7dd4b28950da4fe2e322a7bd0ffd6f21bceb1113
Author: zhanghongyu <[email protected]>
AuthorDate: Tue Oct 29 14:44:00 2024 +0800
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 <[email protected]>
---
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] <times>>\n");
+ printf("usage: netpkt_ethercat [<ifname> [times]]\n");
}
/****************************************************************************