diff --git a/tools/db_bench_tool.cc b/tools/db_bench_tool.cc index 7f6f25a64d..e61ba16c76 100644 --- a/tools/db_bench_tool.cc +++ b/tools/db_bench_tool.cc @@ -9457,7 +9457,8 @@ int db_bench_tool(int argc, char** argv) { // Check for multiple-groups mode int result = 0; - if (argc > 1 && std::string(argv[1]) == "-groups") { + if (argc > 1 && ((std::string(argv[1]) == "-groups") || + (std::string(argv[1]) == "--groups"))) { auto arg_idx = 2; std::vector first_group_argv_vec; // Process all groups, as long as all of them run successfully