diff --git a/map/benchmark_tool/main.cpp b/map/benchmark_tool/main.cpp index bb04669279..d43e3fc20d 100644 --- a/map/benchmark_tool/main.cpp +++ b/map/benchmark_tool/main.cpp @@ -14,7 +14,7 @@ DEFINE_string(input, "", "MWM file name in the data directory"); DEFINE_int32(count, 3, "How many times to run benchmark"); DEFINE_int32(lowS, 10, "Low processing scale"); DEFINE_int32(highS, 17, "High processing scale"); -DEFINE_bool(print_scales, false, "Print geometry scales for MWM"); +DEFINE_bool(print_scales, false, "Print geometry scales for MWM and exit"); int main(int argc, char ** argv) { @@ -38,9 +38,11 @@ int main(int argc, char ** argv) feature::DataHeader h; LoadMapHeader(pl.GetReader(FLAGS_input), h); + cout << "Scales with geometry: "; for (size_t i = 0; i < h.GetScalesCount(); ++i) cout << h.GetScale(i) << " "; cout << endl; + return 0; } if (!FLAGS_input.empty())