20 bool ignore_errors =
false;
21 if (arg_index + 2 < argc && std::string(argv[arg_index]) ==
"--ignore-errors")
28 if (arg_index + 3 < argc && std::string(argv[arg_index]) ==
"--until")
30 std::istringstream(argv[arg_index + 1]) >> until;
34 if (arg_index + 2 != argc)
36 std::cerr <<
"usage: " << argv[0];
37 std::cerr <<
" [--ignore-errors] [--until <checkpoint>] <input.joedb> <output.joedb> \n";
41 const char *input_file_name = argv[arg_index];
42 const char *output_file_name = argv[arg_index + 1];
54 process(input_journal, output_journal, until);