cwebp: add some missing newlines in longhelp output

+ update README

Change-Id: Ia84d8857d575bc29ab3ce9c0f10264c042067e78
This commit is contained in:
James Zern 2014-05-26 13:36:16 -07:00
parent 78c12ed8e6
commit d471f424da
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");