[PATCH] commands: ethlog: wire up help text

Roland Hieber rhi at pengutronix.de
Thu May 25 08:29:35 PDT 2023


The help text for ethlog currently contains only the short synopsis, but
no explanation what all the options actually do, although that info is
available a few lines further up. It was probably just forgotten to be
included in the command definition.

Signed-off-by: Roland Hieber <rhi at pengutronix.de>
---
 commands/ethlog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commands/ethlog.c b/commands/ethlog.c
index 7885d32c6b47..21d88bf1cbfb 100644
--- a/commands/ethlog.c
+++ b/commands/ethlog.c
@@ -90,4 +90,5 @@ BAREBOX_CMD_START(ethlog)
 	BAREBOX_CMD_OPTS("[-rp] [device]")
 	BAREBOX_CMD_GROUP(CMD_GRP_NET)
 	BAREBOX_CMD_COMPLETE(eth_complete)
+	BAREBOX_CMD_HELP(cmd_ethlog_help)
 BAREBOX_CMD_END
-- 
2.39.2




More information about the barebox mailing list