mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix: add missing slash on startup for certain log_dir paths (#1500)
This commit is contained in:
parent
3904a4f628
commit
4eb2012a8d
1 changed files with 2 additions and 1 deletions
|
@ -622,7 +622,8 @@ void sigill_hdlr(int signo) {
|
|||
void PrintBasicUsageInfo() {
|
||||
std::cout << "* Logs will be written to the first available of the following paths:\n";
|
||||
for (const auto& dir : google::GetLoggingDirectories()) {
|
||||
std::cout << dir << "dragonfly.*\n";
|
||||
const string_view maybe_slash = absl::EndsWith(dir, "/") ? "" : "/";
|
||||
std::cout << dir << maybe_slash << "dragonfly.*\n";
|
||||
}
|
||||
std::cout << "* For the available flags type dragonfly [--help | --helpfull]\n";
|
||||
std::cout << "* Documentation can be found at: https://www.dragonflydb.io/docs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue