Merge "cwebp: add some missing newlines in longhelp output"

This commit is contained in:
James Zern 2014-05-28 12:52:22 -07:00 committed by Gerrit Code Review
commit 33aa497e1a
2 changed files with 6 additions and 3 deletions

5
README
View File

@ -141,7 +141,7 @@ Usage:
cwebp [-preset <...>] [options] in_file [-o out_file]
If input size (-s) for an image is not specified, it is assumed to be a PNG,
JPEG or TIFF file.
JPEG, TIFF or WebP file.
options:
-h / -help ............ short help
-H / -longhelp ........ long help
@ -151,6 +151,9 @@ options:
default, photo, picture,
drawing, icon, text
-preset must come first, as it overwrites other parameters.
-z <int> ............... Activates lossless preset with given
level in [0:fast, ..., 9:slowest]
-m <int> ............... compression method (0=fast, 6=slowest)
-segments <int> ........ number of segments to use (1..4)
-size <int> ............ Target size (in bytes)

View File

@ -569,8 +569,8 @@ static void HelpLong(void) {
printf(" -preset <string> ....... Preset setting, one of:\n");
printf(" default, photo, picture,\n");
printf(" drawing, icon, text\n");
printf(" -preset must come first, as it overwrites other parameters.");
printf(" -z <int> ............... Activates lossless preset with given "
printf(" -preset must come first, as it overwrites other parameters.\n");
printf(" -z <int> ............... Activates lossless preset with given\n"
" level in [0:fast, ..., 9:slowest]\n");
printf("\n");
printf(" -m <int> ............... compression method (0=fast, 6=slowest)\n");