[PATCH 4/7] RISC-V: Correct the usage of command line option
Song Shuai
songshuaishuai at tinylab.org
Thu Sep 14 20:50:10 PDT 2023
RISC-V process OPT_CMDLINE with the "command-line" partten,
but the riscv_opts_usage shows the "cmdline" option.
So correct the usage's output.
Signed-off-by: Song Shuai <songshuaishuai at tinylab.org>
---
kexec/arch/riscv/kexec-riscv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kexec/arch/riscv/kexec-riscv.c b/kexec/arch/riscv/kexec-riscv.c
index a6f1b6f..00ae869 100644
--- a/kexec/arch/riscv/kexec-riscv.c
+++ b/kexec/arch/riscv/kexec-riscv.c
@@ -33,7 +33,7 @@ static const char riscv_opts_usage[] =
" --append=STRING Append STRING to the kernel command line.\n"
" --dtb=FILE Use FILE as the device tree blob.\n"
" --initrd=FILE Use FILE as the kernel initial ramdisk.\n"
-" --cmdline=STRING Use STRING as the kernel's command line.\n"
+" --command-line=STRING Use STRING as the kernel's command line.\n"
" --reuse-cmdline Use kernel command line from running system.\n";
static struct riscv_opts arch_options = {0};
--
2.20.1
More information about the kexec
mailing list