[PATCH] commands: boot: document bootchooser option
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 7 06:06:10 PDT 2025
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 at 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
More information about the barebox
mailing list