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 <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2024-10-29 14:44:00 +08:00 committed by Xiang Xiao
parent d2205f8759
commit 7dd4b28950

View file

@ -40,7 +40,7 @@
static void usage(void)
{
printf("usage: netpkt_ethercat <[ifname] <times>>\n");
printf("usage: netpkt_ethercat [<ifname> [times]]\n");
}
/****************************************************************************