1
0
Fork 0

don't duplicate existing information (#2740)

This commit is contained in:
Jan 2017-07-06 18:07:41 +02:00 committed by GitHub
parent 6a35df3992
commit a29e364817
1 changed files with 1 additions and 3 deletions

View File

@ -133,11 +133,9 @@ void BenchFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
"multi-collection",
"aqlinsert",
"aqlv8"};
std::vector<std::string> casesVector(cases.begin(), cases.end());
std::string casesJoined = StringUtils::join(casesVector, ", ");
options->addOption(
"--test-case", "test case to use (possible values: " + casesJoined + ")",
"--test-case", "test case to use",
new DiscreteValuesParameter<StringParameter>(&_testCase, cases));
options->addOption("--complexity", "complexity parameter for the test",