Commit 780a0381 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

h2load: Exit if --timing-script and -r option is used together

parent e8ec7867
......@@ -1533,6 +1533,12 @@ int main(int argc, char **argv) {
exit(EXIT_FAILURE);
}
if (config.timing_script && config.is_rate_mode()) {
std::cerr << "--timing-script, -r: these options cannot be used together."
<< std::endl;
exit(EXIT_FAILURE);
}
std::vector<std::string> reqlines;
if (config.ifile.empty()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment