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 <[email protected]>
---
 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


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to