X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=pctb%2Fconvert.c;h=75c70804df7b7d4632e9ee9967540f873c21d313;hp=0114ea4fdfa98f037ff0a8794e43e5aa2ec21326;hb=6e70a6f2ac5765379239252d771f9218a80b9c71;hpb=b74b7faed500074055836296929fb9efa3ad7498 diff --git a/pctb/convert.c b/pctb/convert.c index 0114ea4..75c7080 100644 --- a/pctb/convert.c +++ b/pctb/convert.c @@ -51,6 +51,7 @@ static char *o_screenshot_fn; static int o_single_page, o_quiet; static const char *o_outputmode= "upload"; +const char *o_resolver; FILE *screenshot_file; @@ -120,6 +121,8 @@ int main(int argc, char **argv) { o_single_page= 1; else if (!strcmp(arg,"--quiet")) o_quiet= 1; + else if (!strcmp(arg,"--edit-charset")) + o_resolver= "./yppsc-ocr-resolver"; else if (!strcmp(arg,"--raw-tsv")) o_outputmode= 0; else if (!strcmp(arg,"--upload") ||