hydra-eval-jobs: smaller visual improvements
This commit is contained in:
parent
034f780421
commit
0e1be9fdaf
@ -41,13 +41,12 @@ 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;
|
||||||
}
|
}
|
||||||
printf(" --%-20s %s\n", name.c_str(), flag->description.c_str());
|
printf(" --%-20s %s\n", name.c_str(), flag->description.c_str());
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user