summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/s390/include/arch/options.h1
-rw-r--r--kexec/arch/s390/kexec-image.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/kexec/arch/s390/include/arch/options.h b/kexec/arch/s390/include/arch/options.h
index b57539f..76044a3 100644
--- a/kexec/arch/s390/include/arch/options.h
+++ b/kexec/arch/s390/include/arch/options.h
@@ -30,6 +30,7 @@
#define KEXEC_ALL_OPTIONS \
KEXEC_ARCH_OPTIONS \
{"command-line", 1, 0, OPT_APPEND}, \
+ {"append", 1, 0, OPT_APPEND}, \
{"initrd", 1, 0, OPT_RAMDISK},
#define KEXEC_ALL_OPT_STR KEXEC_ARCH_OPT_STR
diff --git a/kexec/arch/s390/kexec-image.c b/kexec/arch/s390/kexec-image.c
index bed67cd..3d57b7d 100644
--- a/kexec/arch/s390/kexec-image.c
+++ b/kexec/arch/s390/kexec-image.c
@@ -61,6 +61,7 @@ image_s390_load(int argc, char **argv, const char *kernel_buf,
{
KEXEC_OPTIONS
{"command-line", 1, 0, OPT_APPEND},
+ {"append", 1, 0, OPT_APPEND},
{"initrd", 1, 0, OPT_RAMDISK},
{0, 0, 0, 0},
};
@@ -160,7 +161,8 @@ image_s390_probe(const char *UNUSED(kernel_buf), off_t UNUSED(kernel_size))
void
image_s390_usage(void)
{
- printf("--command-line=STRING Pass a custom command line STRING to the kernel.\n"
+ printf("--command-line=STRING Set the kernel command line to STRING.\n"
+ "--append=STRING Set the kernel command line to STRING.\n"
"--initrd=FILENAME Use the file FILENAME as a ramdisk.\n"
);
}