hydra-eval-jobs: smaller visual improvements

This commit is contained in:
Jörg Thalheim 2021-03-14 23:29:49 +01:00
parent 034f780421
commit 0e1be9fdaf
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -41,13 +41,12 @@ struct MyArgs : MixEvalArgs, MixCommonArgs
.longName = "help",
.description = "show usage information",
.handler = {[&]() {
std::cout << "Usage:" << std::endl;
std::cout << " " << "hydra-eval-jobs [options] expr" << std::endl;
printf("USAGE: hydra-eval-jobs [options] expr\n\n");
for (const auto & [name, flag] : longFlags) {
if (hiddenCategories.count(flag->category)) {
continue;
}
printf(" --%-20s %s\n", name.c_str(), flag->description.c_str());
printf(" --%-20s %s\n", name.c_str(), flag->description.c_str());
}
}},
});