Blame SOURCES/kexec-tools-2.0.15-makedumpfile-Update-help-text-to-indicate-mem-usage-is-supp.patch

cf4a81
From 29dbb597089981a5e3c97ae4f768ff8a22094294 Mon Sep 17 00:00:00 2001
cf4a81
From: Bhupesh Sharma <bhsharma@redhat.com>
cf4a81
Date: Thu, 25 Oct 2018 11:48:27 +0530
cf4a81
Subject: [PATCH] [PATCH] Update help text to indicate --mem-usage is supported
cf4a81
 on archs other than x86_64
cf4a81
cf4a81
Commit 8449bda73ab14516d4bf81d29503c1ea203bb865 ("Documentation:
cf4a81
Update documentation regarding --mem-usage' option"), updated the
cf4a81
makedumpfile man page to indicate that this option is now
cf4a81
supported on x86_64, arm64, ppc64 and s390x.
cf4a81
cf4a81
However, the help text for makedumpfile (which one can see
cf4a81
by running 'makedumpfile --help'), still reflects the old
cf4a81
support status, i.e. this option is only supported on x86_64.
cf4a81
cf4a81
This patch changes the help text to be in sync with the man
cf4a81
page text.
cf4a81
cf4a81
Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
cf4a81
---
cf4a81
 print_info.c | 2 +-
cf4a81
 1 file changed, 1 insertion(+), 1 deletion(-)
cf4a81
cf4a81
diff --git a/makedumpfile-1.6.2/print_info.c b/makedumpfile-1.6.2/print_info.c
cf4a81
index 732d5b806c24..0be12ea8803c 100644
cf4a81
--- a/makedumpfile-1.6.2/print_info.c
cf4a81
+++ b/makedumpfile-1.6.2/print_info.c
cf4a81
@@ -300,7 +300,7 @@ print_usage(void)
cf4a81
 	MSG("      necessary to specify [-x VMLINUX] or [-i VMCOREINFO].\n");
cf4a81
 	MSG("\n");
cf4a81
 	MSG("  [--mem-usage]:\n");
cf4a81
-	MSG("      This option is only for x86_64.\n");
cf4a81
+	MSG("      This option is currently supported on x86_64, arm64, ppc64 and s390x.\n");
cf4a81
 	MSG("      This option is used to show the page numbers of current system in different\n");
cf4a81
 	MSG("      use. It should be executed in 1st kernel. By the help of this, user can know\n");
cf4a81
 	MSG("      how many pages is dumpable when different dump_level is specified. It analyzes\n");
cf4a81
-- 
cf4a81
2.7.4
cf4a81