[PATCH] commands: tutorial: adjust command description

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Feb 24 05:52:31 PST 2022


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

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




More information about the barebox mailing list