From ab6dab59adbfe3baa11889502fdd0e2fb6cd0286 Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Tue, 27 Apr 2021 19:18:02 +0200 Subject: [PATCH] two small corrections in help output --- defines.h | 2 +- help.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defines.h b/defines.h index 79f033d..c42c1b0 100644 --- a/defines.h +++ b/defines.h @@ -23,7 +23,7 @@ #define SSOCR2_DEFINES_H /* version number */ -#define VERSION "2.21.0" +#define VERSION "2.21.0+" /* states */ #define FIND_DARK 0 diff --git a/help.c b/help.c index 7c66387..2c7c500 100644 --- a/help.c +++ b/help.c @@ -169,7 +169,7 @@ void usage(char *name, FILE *f) fprintf(f, " with a window of width W and height H\n"); fprintf(f, " rgb_threshold make image monochrome by setting every pixel\n"); fprintf(f, " with any values of red, green or blue below\n"); - fprintf(f, " below the threshold to black\n"); + fprintf(f, " the threshold to black\n"); fprintf(f, " r_threshold make image monochrome using only red channel\n"); fprintf(f, " g_threshold make image monochrome using only green channel\n"); fprintf(f, " b_threshold make image monochrome using only blue channel\n"); @@ -213,6 +213,6 @@ void usage(char *name, FILE *f) fprintf(f, " 1 if a different number of digits have been found\n"); fprintf(f, " 2 if one of the digits could not be recognized\n"); fprintf(f, " 3 if successful image processing only\n"); - fprintf(f, " 42 if -h, -V, or -l help\n"); + fprintf(f, " 42 if -h, -V, -l help, or -c help\n"); fprintf(f, " 99 otherwise\n"); }