Skip to content

Commit

Permalink
db_bench: Support '--groups' in addition to '-groups' (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb authored and Yuval-Ariel committed Dec 14, 2022
1 parent 934b849 commit ed71d66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/db_bench_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9520,7 +9520,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<char*> first_group_argv_vec;
// Process all groups, as long as all of them run successfully
Expand Down

0 comments on commit ed71d66

Please sign in to comment.