Skip to content

Commit

Permalink
fix nasty bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liesened committed May 23, 2022
1 parent 919b9ee commit 70a4fc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posterize.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ static void usage(const char *exepath)
"-v verbose output (to stderr)\n\n" \
"If files are not specified stdin and stdout is used.\n" \
"If -w is specified output file is not used.\n" \
"%s -w -Q 95 in.png\n"
"%s -wb -Q 95 in.png\n"
"%s -Q 95 in.png out.png\n", name, name, name);
}

Expand Down Expand Up @@ -454,7 +454,7 @@ int main(int argc, char *argv[])
int quality = 0;

int ch;
while ((ch = getopt(argc, argv, "hvdq:Q:b:w")) != -1) {
while ((ch = getopt(argc, argv, "hvwdq:Q:b")) != -1) {
switch (ch) {
case 'b': blurize = true; break;
case 'd': dither = true; break;
Expand Down

0 comments on commit 70a4fc8

Please sign in to comment.