Blame SOURCES/kexec-tools-2.0.4-makedumpfile-Add-help-and-man-message-for-help.patch

765b01
From eb708cedde4ed48dde5a918a23b2c3b8235df6c5 Mon Sep 17 00:00:00 2001
765b01
From: Baoquan He <bhe@redhat.com>
765b01
Date: Tue, 2 Jul 2013 11:11:07 +0900
765b01
Subject: [PATCH 2/2] [PATCH 2/2] Add help and man message for '--help'.
765b01
765b01
Conventionally '-h' and '--help' are all provided. Currently makedumpfile
765b01
lacks help and man message for '--help'. Here add it.
765b01
765b01
Signed-off-by: Baoquan He <bhe@redhat.com>
765b01
---
765b01
 makedumpfile.8 | 2 +-
765b01
 print_info.c   | 2 +-
765b01
 2 files changed, 2 insertions(+), 2 deletions(-)
765b01
765b01
diff --git a/makedumpfile-1.5.4/makedumpfile.8 b/makedumpfile-1.5.4/makedumpfile.8
765b01
index adeb811..f50a011 100644
765b01
--- a/makedumpfile-1.5.4/makedumpfile.8
765b01
+++ b/makedumpfile-1.5.4/makedumpfile.8
765b01
@@ -539,7 +539,7 @@ order from left to right.  \fIVMCORE\fRs are assembled into a single
765b01
 Print debugging message.
765b01
 
765b01
 .TP
765b01
-\fB\-h\fR
765b01
+\fB\-h (\-\-help)\fR
765b01
 Show help message and LZO/snappy support status (enabled/disabled).
765b01
 
765b01
 .TP
765b01
diff --git a/makedumpfile-1.5.4/print_info.c b/makedumpfile-1.5.4/print_info.c
765b01
index 06939e0..3527970 100644
765b01
--- a/makedumpfile-1.5.4/print_info.c
765b01
+++ b/makedumpfile-1.5.4/print_info.c
765b01
@@ -255,7 +255,7 @@ print_usage(void)
765b01
 	MSG("  [-f]:\n");
765b01
 	MSG("      Overwrite DUMPFILE even if it already exists.\n");
765b01
 	MSG("\n");
765b01
-	MSG("  [-h]:\n");
765b01
+	MSG("  [-h, --help]:\n");
765b01
 	MSG("      Show help message and LZO/snappy support status (enabled/disabled).\n");
765b01
 	MSG("\n");
765b01
 	MSG("  [-v]:\n");
765b01
-- 
765b01
1.8.4.2
765b01