ws --version does not get printed with a log prefix

This commit is contained in:
Benjamin Sergeant 2020-08-12 18:44:47 -07:00
parent b8265bf7f2
commit eb197edcec

View File

@ -11,6 +11,7 @@
#include <cli11/CLI11.hpp>
#include <fstream>
#include <iostream>
#include <ixbots/IXCobraMetricsToRedisBot.h>
#include <ixbots/IXCobraToPythonBot.h>
#include <ixbots/IXCobraToSentryBot.h>
@ -725,7 +726,7 @@ int main(int argc, char** argv)
}
else if (version)
{
spdlog::info("ws {}", ix::userAgent());
std::cout << "ws " << ix::userAgent() << std::endl;
}
else
{