mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: boot: document bootchooser option
@ 2025-04-07 13:06 Sascha Hauer
  2025-04-08  5:08 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-04-07 13:06 UTC (permalink / raw)
  To: Barebox List

The boot command takes "bootchooser" as boot source, but this has never
been documented in the help text. Add documentation for this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 commands/boot.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/commands/boot.c b/commands/boot.c
index 8207083801..90c59436d0 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -186,6 +186,9 @@ BAREBOX_CMD_HELP_TEXT("- a partition name under /dev/")
 BAREBOX_CMD_HELP_TEXT("- a full path to a directory which")
 BAREBOX_CMD_HELP_TEXT("   - contains boot scripts, or")
 BAREBOX_CMD_HELP_TEXT("   - contains a loader/entries/ directory containing bootspec entries")
+#ifdef CONFIG_BOOTCHOOSER
+BAREBOX_CMD_HELP_TEXT("- \"bootchooser\": boot with barebox bootchooser")
+#endif
 BAREBOX_CMD_HELP_TEXT("")
 BAREBOX_CMD_HELP_TEXT("Multiple bootsources may be given which are probed in order until")
 BAREBOX_CMD_HELP_TEXT("one succeeds.")
-- 
2.39.5




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

end of thread, other threads:[~2025-04-08  5:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 13:06 [PATCH] commands: boot: document bootchooser option Sascha Hauer
2025-04-08  5:08 ` Sascha Hauer

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