We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3904a4f commit 4eb2012Copy full SHA for 4eb2012
src/server/dfly_main.cc
@@ -622,7 +622,8 @@ void sigill_hdlr(int signo) {
622
void PrintBasicUsageInfo() {
623
std::cout << "* Logs will be written to the first available of the following paths:\n";
624
for (const auto& dir : google::GetLoggingDirectories()) {
625
- std::cout << dir << "dragonfly.*\n";
+ const string_view maybe_slash = absl::EndsWith(dir, "/") ? "" : "/";
626
+ std::cout << dir << maybe_slash << "dragonfly.*\n";
627
}
628
std::cout << "* For the available flags type dragonfly [--help | --helpfull]\n";
629
std::cout << "* Documentation can be found at: https://www.dragonflydb.io/docs";
0 commit comments