From: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
To: kumagai-atsushi@mxc.nes.nec.co.jp
Cc: kexec@lists.infradead.org, crash-utility@redhat.com
Subject: [PATCH 7/8] Add help message
Date: Tue, 03 Jul 2012 12:08:04 +0900 [thread overview]
Message-ID: <20120703030804.16633.72963.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20120703030552.16633.42523.stgit@localhost6.localdomain6>
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
---
print_info.c | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/print_info.c b/print_info.c
index 61cafed..1b455b2 100644
--- a/print_info.c
+++ b/print_info.c
@@ -39,6 +39,12 @@ print_usage(void)
#else
MSG(" disabled ('-l' option will be ignored.)\n");
#endif
+ MSG("snappy support:\n");
+#ifdef USESNAPPY
+ MSG(" enabled\n");
+#else
+ MSG(" disabled ('-p' option will be ignored.)\n");
+#endif
MSG("\n");
MSG("Usage:\n");
MSG(" Creating DUMPFILE:\n");
@@ -83,10 +89,10 @@ print_usage(void)
MSG("\n");
MSG("\n");
MSG("Available options:\n");
- MSG(" [-c|-l]:\n");
- MSG(" Compress dump data by each page using zlib for -c option and lzo for\n");
- MSG(" -l option. A user cannot specify either of these options with -E option,\n");
- MSG(" because the ELF format does not support compressed data.\n");
+ MSG(" [-c|-l|-p]:\n");
+ MSG(" Compress dump data by each page using zlib for -c option, lzo for -l option\n");
+ MSG(" or snappy for -p option. A user cannot specify either of these options with\n");
+ MSG(" -E option, because the ELF format does not support compressed data.\n");
MSG(" THIS IS ONLY FOR THE CRASH UTILITY.\n");
MSG("\n");
MSG(" [-d DL]:\n");
@@ -222,7 +228,7 @@ print_usage(void)
MSG(" Overwrite DUMPFILE even if it already exists.\n");
MSG("\n");
MSG(" [-h]:\n");
- MSG(" Show help message and LZO support status (enabled/disabled).\n");
+ MSG(" Show help message and LZO/snappy support status (enabled/disabled).\n");
MSG("\n");
MSG(" [-b <order>]\n");
MSG(" Specify the cache 2^order pages in ram when generating vmcore info\n");
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2012-07-03 3:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 3:07 [PATCH 0/8] makedumpfile: Add Snappy Compression Support HATAYAMA Daisuke
2012-07-03 3:07 ` [PATCH 1/8] Add dump header for snappy HATAYAMA Daisuke
2012-07-03 3:07 ` [PATCH 2/8] Add command-line processing " HATAYAMA Daisuke
2012-07-03 3:07 ` [PATCH 3/8] Add snappy build support HATAYAMA Daisuke
2012-07-03 3:07 ` [PATCH 4/8] Notify snappy unsupporting when disabled HATAYAMA Daisuke
2012-07-03 3:07 ` [PATCH 5/8] Add compression processing HATAYAMA Daisuke
2012-07-03 3:07 ` [PATCH 6/8] Add uncompression processing HATAYAMA Daisuke
2012-07-03 3:08 ` HATAYAMA Daisuke [this message]
2012-07-03 3:08 ` [PATCH 8/8] Add manual description HATAYAMA Daisuke
2012-07-05 5:05 ` [PATCH 0/8] makedumpfile: Add Snappy Compression Support Atsushi Kumagai
2012-07-05 5:36 ` HATAYAMA Daisuke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120703030804.16633.72963.stgit@localhost6.localdomain6 \
--to=d.hatayama@jp.fujitsu.com \
--cc=crash-utility@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=kumagai-atsushi@mxc.nes.nec.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.