analyse(tf);
if (o_flags & ff_upload) {
- if (npages<=1)
+ if (o_flags & ff_singlepage)
fatal("Recognition successful, but refusing to upload partial data\n"
" (--single-page specified). Specify an output mode?");
}
else if (IS("--dict-read-only")) o_flags &= (~ffs_dict | ff_dict_fetch);
else if (IS("--dict-anon")) o_flags &= ~ff_dict_pirate;
else if (IS("--dict-submit")) o_flags |= ff_dict_fetch|ff_dict_submit;
+ else if (IS("--dict-no-update")) o_flags &= ~ff_dict_fetch; // testing
else if (IS("--raw-tsv")) outputmode(omk_raw,0);
else if (IS("--upload")) outputmode_uploads();
else if (IS("--upload-yarrg")) outputmode(omk_upload_yarrg,arg+2);