mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
cwebp: add some missing newlines in longhelp output
+ update README Change-Id: Ia84d8857d575bc29ab3ce9c0f10264c042067e78
This commit is contained in:
parent
78c12ed8e6
commit
d471f424da
5
README
5
README
@ -141,7 +141,7 @@ Usage:
|
|||||||
cwebp [-preset <...>] [options] in_file [-o out_file]
|
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,
|
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:
|
options:
|
||||||
-h / -help ............ short help
|
-h / -help ............ short help
|
||||||
-H / -longhelp ........ long help
|
-H / -longhelp ........ long help
|
||||||
@ -151,6 +151,9 @@ options:
|
|||||||
default, photo, picture,
|
default, photo, picture,
|
||||||
drawing, icon, text
|
drawing, icon, text
|
||||||
-preset must come first, as it overwrites other parameters.
|
-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)
|
-m <int> ............... compression method (0=fast, 6=slowest)
|
||||||
-segments <int> ........ number of segments to use (1..4)
|
-segments <int> ........ number of segments to use (1..4)
|
||||||
-size <int> ............ Target size (in bytes)
|
-size <int> ............ Target size (in bytes)
|
||||||
|
@ -569,8 +569,8 @@ static void HelpLong(void) {
|
|||||||
printf(" -preset <string> ....... Preset setting, one of:\n");
|
printf(" -preset <string> ....... Preset setting, one of:\n");
|
||||||
printf(" default, photo, picture,\n");
|
printf(" default, photo, picture,\n");
|
||||||
printf(" drawing, icon, text\n");
|
printf(" drawing, icon, text\n");
|
||||||
printf(" -preset must come first, as it overwrites other parameters.");
|
printf(" -preset must come first, as it overwrites other parameters.\n");
|
||||||
printf(" -z <int> ............... Activates lossless preset with given "
|
printf(" -z <int> ............... Activates lossless preset with given\n"
|
||||||
" level in [0:fast, ..., 9:slowest]\n");
|
" level in [0:fast, ..., 9:slowest]\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf(" -m <int> ............... compression method (0=fast, 6=slowest)\n");
|
printf(" -m <int> ............... compression method (0=fast, 6=slowest)\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user