Only print general help once in fdbcli

This seems to have been inadvertently changed in
5b2e88b187.
This commit is contained in:
Andrew Noyes 2021-01-25 22:28:09 +00:00
parent d346c4955d
commit 4f881bff51
1 changed files with 3 additions and 3 deletions

View File

@ -629,10 +629,10 @@ void printHelpOverview() {
printf("\nList of commands:\n\n");
for (const auto& [command, help] : helpMap) {
if (help.short_desc.size()) printf(" %s:\n %s\n", command.c_str(), help.short_desc.c_str());
printf("\nFor information on a specific command, type `help <command>'.");
printf("\nFor information on escaping keys and values, type `help escaping'.");
printf("\nFor information on available options, type `help options'.\n\n");
}
printf("\nFor information on a specific command, type `help <command>'.");
printf("\nFor information on escaping keys and values, type `help escaping'.");
printf("\nFor information on available options, type `help options'.\n\n");
}
void printHelp(StringRef command) {