X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fconvert.c;h=555eefe0274c4300ecbdcab8da5b91c9e6c2c508;hp=3c9ae9c85cecfd48dea317975a4d17e8f869ed79;hb=811c58e420d7664366980127cd139b1494baef98;hpb=a0dfb8222afa87d6fabaa8234da89e2a1b57ea5a diff --git a/yarrg/convert.c b/yarrg/convert.c index 3c9ae9c..555eefe 100644 --- a/yarrg/convert.c +++ b/yarrg/convert.c @@ -117,9 +117,9 @@ static void run_analysis(void) { } waitpid_check_exitstatus(processor, "output processor/uploader", 0); - fclose(tf); } + fclose(tf); progress_log("all complete."); } @@ -262,6 +262,7 @@ int main(int argc, char **argv) { 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);