summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-07-31 11:45:27 +0300
committerBin Meng <bmeng.cn@gmail.com>2021-08-02 10:11:41 +0300
commit2ab1ffa5556ccd49aa2b5e4a6cca8ab14072e860 (patch)
tree9ce06c7b0094163404c1c369e3a5ae51c488befa /cmd
parent9a7c6fde07d04e392dadfd406b7837c04aed0d72 (diff)
downloadu-boot-2ab1ffa5556ccd49aa2b5e4a6cca8ab14072e860.tar.xz
x86: cmd: hob: Fix the command usage and help messages
At present the hob command usage and help messages are messed up in a single line. They should be separated. This was a regression introduced when [seq] and [-v] were added to the command. Fixes: d11544dfa9f4 ("x86: hob: Add way to show a single hob entry") Fixes: 51af144eb7a0 ("x86: Allow showing details about a HOB entry") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/x86/hob.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/x86/hob.c b/cmd/x86/hob.c
index 01db93eb3e..71e7fcbd65 100644
--- a/cmd/x86/hob.c
+++ b/cmd/x86/hob.c
@@ -158,8 +158,7 @@ static int do_hob(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
}
U_BOOT_CMD(hob, 3, 1, do_hob,
- "[-v] [seq] Print Hand-Off Block (HOB) information"
- " -v - Show detailed HOB information where available"
- " seq - Record # to show (all by default)",
- ""
+ "[-v] [seq] Print Hand-Off Block (HOB) information",
+ " -v - Show detailed HOB information where available\n"
+ " seq - Record # to show (all by default)"
);