fix: review comments were fixed

This commit is contained in:
Volodymyr Yavdoshenko 2025-04-28 16:25:58 +03:00
parent 1ffbbd940e
commit 94a16ce687
No known key found for this signature in database
GPG key ID: 24BC74845F4F4064

View file

@ -669,14 +669,15 @@ void PrintBasicUsageInfo() {
for (const auto& dir : google::GetLoggingDirectories()) {
const string_view maybe_slash = absl::EndsWith(dir, "/") ? "" : "/";
output += std::string(dir) + std::string(maybe_slash) + "dragonfly.*\n";
absl::StrAppend(&output, dir, maybe_slash, "dragonfly.*\n");
}
output +=
absl::StrAppend(&output,
"* For the available flags type dragonfly [--help | --helpfull]\n"
"* Documentation can be found at: https://www.dragonflydb.io/docs\n";
"* Documentation can be found at: https://www.dragonflydb.io/docs\n");
std::cout << output;
std::cout.flush();
}
void ParseFlagsFromEnv() {