igzip: Add a few missing descriptions to cli

Change-Id: I4000547679ccee01541e0203e49d62b99f4f317b
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
Greg Tucker 2018-09-21 17:57:12 -07:00
parent 41fc273c43
commit 391db3314a

View File

@ -244,17 +244,22 @@ int usage(int exit_code)
{
int log_type = exit_code ? WARN : INFORM;
log_print(log_type,
"Usage: igzip [options] <infile>\n"
"Usage: igzip [options] [infiles]\n\n"
"Options:\n"
" -h, --help help, print this message\n"
" -# use compression level # with 0 <= # <= %d\n"
" -o <file> output file\n"
" -c, --stdout write to stdout\n"
" -d, --decompress decompress file\n"
" -z, --compress compress file (default)\n"
" -f, --force overwrite ouput without prompting\n"
" -f, --force overwrite output without prompting\n"
" --rm remove source files after successful (de)compression\n"
" -k, --keep keep source files (default)\n"
" -S, --suffix <.suf> suffix to use while (de)compressing\n",
" -S, --suffix <.suf> suffix to use while (de)compressing\n"
" -V, --version show version number\n"
" -v, --verbose verbose mode\n"
" -q, --quiet suppress warnings\n\n"
"with no infile, or when infile is - , read standard input\n\n",
ISAL_DEF_MAX_LEVEL);
exit(exit_code);