[PATCH] commands: tutorial: adjust command description

Sascha Hauer sha at pengutronix.de
Mon Feb 28 01:30:51 PST 2022


On Thu, Feb 24, 2022 at 02:52:31PM +0100, Ahmad Fatoum wrote:
> Current text can be quite confusing for the prev alias:
> 
>   prev - print next tip for barebox tutorial
> 
> Instead, change it to:
> 
>   prev - navigate the barebox tutorial
> 
> Which is correct for both next and prev.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  commands/tutorial.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/tutorial.c b/commands/tutorial.c
> index 81e2f93716cd..444177764311 100644
> --- a/commands/tutorial.c
> +++ b/commands/tutorial.c
> @@ -152,7 +152,7 @@ static __maybe_unused const char *const prev_alias[] = { "prev", NULL};
>  BAREBOX_CMD_START(next)
>  	.cmd		= do_tutorial_next,
>  	.aliases	= prev_alias,
> -	BAREBOX_CMD_DESC("print next tip for barebox tutorial")
> +	BAREBOX_CMD_DESC("navigate the barebox tutorial")
>  	BAREBOX_CMD_OPTS("[-hr] [STEP]")
>  	BAREBOX_CMD_HELP(cmd_next_help)
>  	BAREBOX_CMD_GROUP(CMD_GRP_INFO)
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

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



More information about the barebox mailing list