static enum mode o_mode= mode_all;
static char *o_screenshot_fn;
-static int o_quiet;
static const char *o_serv_pctb, *o_serv_dict_fetch, *o_serv_dict_submit;
const char *o_resolver= "./dictionary-manager";
FILE *screenshot_file;
const char *o_ocean, *o_pirate;
+int o_quiet;
enum flags o_flags= ff_dict_fetch|ff_dict_submit|ff_dict_pirate;
badusage("need --ocean option when replaying images"
" (consider supplying --pirate too)");
sysassert(! setenv("YPPSC_OCEAN",ocean,1) );
- if (pirate && (o_flags & ff_dict_pirate))
- sysassert(! setenv("YPPSC_PIRATE",pirate,1) );
}
+ if (pirate && (o_flags & ff_dict_pirate))
+ sysassert(! setenv("YPPSC_PIRATE",pirate,1) );
+
if (o_mode & mf_screenshot) {
open_screenshot_file("w");
if (o_flags & ff_singlepage) take_one_screenshot();
default: abort();
}
}
+ progress_log("Finished.");
return 0;
}