From 00eef29c7a2280474e653ee8ce1f05ecb327344d Mon Sep 17 00:00:00 2001 From: MetroWind Date: Sun, 29 Sep 2024 22:53:30 -0700 Subject: [PATCH] Change default log level and config file name. --- src/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f651a6a..e09fb07 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,11 +18,12 @@ int main(int argc, char** argv) { - spdlog::set_level(spdlog::level::debug); - cxxopts::Options cmd_options("NS Weekly", "Naively simple weekly snippet"); + // spdlog::set_level(spdlog::level::debug); + cxxopts::Options cmd_options( + "Planck Blog", "A naively simple blog server that is barely enough"); cmd_options.add_options() ("c,config", "Config file", - cxxopts::value()->default_value("/etc/nsweekly.yaml")) + cxxopts::value()->default_value("/etc/planck-blog.yaml")) ("legacy-migration", "Migrate the legacy posts from a directory", cxxopts::value()) ("h,help", "Print this message.");