From 0e1be9fdaf0d85dc61c2fb9f414871c54fee29af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 14 Mar 2021 23:29:49 +0100 Subject: [PATCH] hydra-eval-jobs: smaller visual improvements --- src/hydra-eval-jobs.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hydra-eval-jobs.cc b/src/hydra-eval-jobs.cc index 5fec1d7..86d7ac4 100644 --- a/src/hydra-eval-jobs.cc +++ b/src/hydra-eval-jobs.cc @@ -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()); } }}, });