mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: tutorial: adjust command description
@ 2022-02-24 13:52 Ahmad Fatoum
  2022-02-28  9:30 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-02-24 13:52 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@pengutronix.de>
---
 commands/tutorial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

* Re: [PATCH] commands: tutorial: adjust command description
  2022-02-24 13:52 [PATCH] commands: tutorial: adjust command description Ahmad Fatoum
@ 2022-02-28  9:30 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-02-28  9:30 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2022-02-28  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24 13:52 [PATCH] commands: tutorial: adjust command description Ahmad Fatoum
2022-02-28  9:30 ` Sascha Hauer

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