Add help message
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.) "); #endif + MSG("snappy support: "); +#ifdef USESNAPPY + MSG(" enabled "); +#else + MSG(" disabled ('-p' option will be ignored.) "); +#endif MSG(" "); MSG("Usage: "); MSG(" Creating DUMPFILE: "); @@ -83,10 +89,10 @@ print_usage(void) MSG(" "); MSG(" "); MSG("Available options: "); - MSG(" [-c|-l]: "); - MSG(" Compress dump data by each page using zlib for -c option and lzo for "); - MSG(" -l option. A user cannot specify either of these options with -E option, "); - MSG(" because the ELF format does not support compressed data. "); + MSG(" [-c|-l|-p]: "); + MSG(" Compress dump data by each page using zlib for -c option, lzo for -l option "); + MSG(" or snappy for -p option. A user cannot specify either of these options with "); + MSG(" -E option, because the ELF format does not support compressed data. "); MSG(" THIS IS ONLY FOR THE CRASH UTILITY. "); MSG(" "); MSG(" [-d DL]: "); @@ -222,7 +228,7 @@ print_usage(void) MSG(" Overwrite DUMPFILE even if it already exists. "); MSG(" "); MSG(" [-h]: "); - MSG(" Show help message and LZO support status (enabled/disabled). "); + MSG(" Show help message and LZO/snappy support status (enabled/disabled). "); MSG(" "); MSG(" [-b <order>] "); MSG(" Specify the cache 2^order pages in ram when generating vmcore info "); -- Crash-utility mailing list Crash-utility@redhat.com https://www.redhat.com/mailman/listinfo/crash-utility |
| All times are GMT. The time now is 05:48 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.