From d471f424da4ec84471cba31cd97ab23d03c46ca3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 26 May 2014 13:36:16 -0700 Subject: [PATCH] cwebp: add some missing newlines in longhelp output + update README Change-Id: Ia84d8857d575bc29ab3ce9c0f10264c042067e78 --- README | 5 ++++- examples/cwebp.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README b/README index 4a6f5832..434d6f94 100644 --- a/README +++ b/README @@ -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 ............... Activates lossless preset with given + level in [0:fast, ..., 9:slowest] + -m ............... compression method (0=fast, 6=slowest) -segments ........ number of segments to use (1..4) -size ............ Target size (in bytes) diff --git a/examples/cwebp.c b/examples/cwebp.c index d52b319d..f81d101c 100644 --- a/examples/cwebp.c +++ b/examples/cwebp.c @@ -569,8 +569,8 @@ static void HelpLong(void) { printf(" -preset ....... 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 ............... Activates lossless preset with given " + printf(" -preset must come first, as it overwrites other parameters.\n"); + printf(" -z ............... Activates lossless preset with given\n" " level in [0:fast, ..., 9:slowest]\n"); printf("\n"); printf(" -m ............... compression method (0=fast, 6=slowest)\n");