Skip to content

Commit 7dd4b28

Browse files
zhhyu7xiaoxiang781216
authored andcommitted
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]>
1 parent d2205f8 commit 7dd4b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/netpkt/netpkt_ethercat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
static void usage(void)
4242
{
43-
printf("usage: netpkt_ethercat <[ifname] <times>>\n");
43+
printf("usage: netpkt_ethercat [<ifname> [times]]\n");
4444
}
4545

4646
/****************************************************************************

0 commit comments

Comments
 (0)