bootstd: Tidy up help for boot flags

The help for 'bootflow scan' is missing some flags. Tidy this up and
update the docs as well, keeping the flags in alpha order.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-17 11:47:27 +02:00
parent e18a8940a6
commit c652ad11fe
2 changed files with 12 additions and 7 deletions

View File

@@ -620,7 +620,9 @@ static int do_bootflow_cmdline(struct cmd_tbl *cmdtp, int flag, int argc,
U_BOOT_LONGHELP(bootflow,
#ifdef CONFIG_CMD_BOOTFLOW_FULL
"scan [-abeGl] [bdev] - scan for valid bootflows (-l list, -a all, -e errors, -b boot, -G no global)\n"
"scan [-abeGHlmt] [bdev] - scan for valid bootflows (-l list, -a all,\n"
" -e errors, -b boot, -G no global, -H no hunters\n"
" -m menu, -t text-only\n"
"bootflow list [-e] - list scanned bootflows (-e errors)\n"
"bootflow select [<num>|<name>] - select a bootflow\n"
"bootflow info [-ds] - show info on current bootflow (-d dump bootflow)\n"

View File

@@ -11,7 +11,7 @@ Synopsis
::
bootflow scan [-abelGH] [bootdev]
bootflow scan [-abeGHlmt] [bootdev]
bootflow list [-e]
bootflow select [<num|name>]
bootflow info [-ds]
@@ -62,11 +62,6 @@ Flags are:
Used with -l to also show errors for each bootflow. The shows detailed error
information for each bootflow that failed to make it to the `loaded` state.
-l
List bootflows while scanning. This is helpful when you want to see what
is happening during scanning. Use it with the `-b` flag to see which
bootdev and bootflows are being tried.
-G
Skip global bootmeths when scanning. By default these are tried first, but
this flag disables them.
@@ -76,10 +71,18 @@ Flags are:
priority or label is tried, to see if more bootdevs can be discovered, but
this flag disables that process.
-l
List bootflows while scanning. This is helpful when you want to see what
is happening during scanning. Use it with the `-b` flag to see which
bootdev and bootflows are being tried.
-m
Show a menu of available bootflows for the user to select. When used with
-b it then boots the one that was selected, if any.
-t
If used with `-m`, show the menu in text mode.
The optional argument specifies a particular bootdev to scan. This can either be
the name of a bootdev or its sequence number (both shown with `bootdev list`).
Alternatively a convenience label can be used, like `mmc0`, which is the type of