Skip to content

Commit

Permalink
Change default log level and config file name.
Browse files Browse the repository at this point in the history
  • Loading branch information
MetroWind committed Sep 30, 2024
1 parent dbe5b5f commit 00eef29
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string>()->default_value("/etc/nsweekly.yaml"))
cxxopts::value<std::string>()->default_value("/etc/planck-blog.yaml"))
("legacy-migration", "Migrate the legacy posts from a directory",
cxxopts::value<std::string>())
("h,help", "Print this message.");
Expand Down

0 comments on commit 00eef29

Please sign in to comment.