]> Git Repo - J-u-boot.git/commitdiff
x86: cmd: hob: Fix the command usage and help messages
authorBin Meng <[email protected]>
Sat, 31 Jul 2021 08:45:27 +0000 (16:45 +0800)
committerBin Meng <[email protected]>
Mon, 2 Aug 2021 07:11:41 +0000 (15:11 +0800)
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax
Tested-by: Simon Glass <[email protected]>
cmd/x86/hob.c

index 01db93eb3e157b8222f2367ebf5d4eb5c8563f17..71e7fcbd6572fa98a76bc1134855f271b4bfbaf7 100644 (file)
@@ -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)"
 );
This page took 0.037621 seconds and 4 git commands to generate.