Skip to contentSkip to conversation

kexec ppc64: add missing usage info for options

PATCH New Michael Neuling 1 participant 1 message May 30, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec ppc64: add missing usage info for options

I had to look through the source to remember what these are one too many times.

Patch below is against Maneesh's kexec-tools-1.101-kdump8 patches.

---
 kexec/arch/ppc64/kexec-ppc64.c |    4 ++++
 1 file changed, 4 insertions(+)
kexec/arch/ppc64/kexec-ppc64.c +4 -0
Index: kexec-tools-1.101/kexec/arch/ppc64/kexec-ppc64.c
===================================================================
@@ -552,6 +552,10 @@ int file_types = sizeof(file_type) / siz
 
 void arch_usage(void)
 {
+	fprintf(stderr, "     --command-line=<Command line> command line to append.\n");
+	fprintf(stderr, "     --append=<Command line> same as --command-line.\n");
+	fprintf(stderr, "     --ramdisk=<filename> Initial RAM disk.\n");
+	fprintf(stderr, "     --initrd=<filename> same as --ramdisk.\n");
 	fprintf(stderr, "     --devicetreeblob=<filename> Specify device tree blob file.\n");
 	fprintf(stderr, "     --elf64-core-headers Prepare core headers in ELF64 format\n");
 }