提交 2ab1ffa5 编写于 作者: B Bin Meng

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: d11544df ("x86: hob: Add way to show a single hob entry")
Fixes: 51af144e ("x86: Allow showing details about a HOB entry")
Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
Reviewed-by: NSimon Glass <sjg@chromium.org>
Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax
Tested-by: NSimon Glass <sjg@chromium.org>
上级 9a7c6fde
......@@ -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)"
);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册