mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: ethlog: wire up help text
@ 2023-05-25 15:29 Roland Hieber
  2023-05-25 15:31 ` Roland Hieber
  2023-05-26  6:34 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Hieber @ 2023-05-25 15:29 UTC (permalink / raw)
  To: barebox; +Cc: Roland Hieber

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@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] commands: ethlog: wire up help text
  2023-05-25 15:29 [PATCH] commands: ethlog: wire up help text Roland Hieber
@ 2023-05-25 15:31 ` Roland Hieber
  2023-05-26  6:34 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Roland Hieber @ 2023-05-25 15:31 UTC (permalink / raw)
  To: barebox

On Thu, May 25, 2023 at 05:29:35PM +0200, Roland Hieber wrote:
> 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.

As far as I could see, ethlog was the only (non-trivial) command without
a help text.

 - Roland

> 
> Signed-off-by: Roland Hieber <rhi@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
> 
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] commands: ethlog: wire up help text
  2023-05-25 15:29 [PATCH] commands: ethlog: wire up help text Roland Hieber
  2023-05-25 15:31 ` Roland Hieber
@ 2023-05-26  6:34 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2023-05-26  6:34 UTC (permalink / raw)
  To: Roland Hieber; +Cc: barebox

On Thu, May 25, 2023 at 05:29:35PM +0200, Roland Hieber wrote:
> 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@pengutronix.de>
> ---
>  commands/ethlog.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> 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
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-26  6:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-25 15:29 [PATCH] commands: ethlog: wire up help text Roland Hieber
2023-05-25 15:31 ` Roland Hieber
2023-05-26  6:34 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox