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