mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
cmd: part: Cover both part type entries with GUID ifdef
The 'part type' subcommand depends on GUID partition table support. The help text exposes one of two 'part type' subcommand entries, hide both in case GUID partition table support is not enabled to avoid confusing users. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
738b34668f
commit
97135d9f42
1 changed files with 1 additions and 1 deletions
|
@ -308,9 +308,9 @@ U_BOOT_CMD(
|
|||
#ifdef CONFIG_PARTITION_TYPE_GUID
|
||||
"part type <interface> <dev>:<part>\n"
|
||||
" - print partition type\n"
|
||||
#endif
|
||||
"part type <interface> <dev>:<part> <varname>\n"
|
||||
" - set environment variable to partition type\n"
|
||||
#endif
|
||||
"part set <interface> <dev> type\n"
|
||||
" - set partition type for a device\n"
|
||||
"part types\n"
|
||||
|
|
Loading…
Reference in a new issue