1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Cleanup server connection code a bit

This commit is contained in:
Ivan Savenko
2023-07-28 14:17:06 +03:00
parent 593b82d178
commit 7f72f7a82c
5 changed files with 10 additions and 12 deletions

View File

@@ -987,7 +987,7 @@ static void handleCommandOptions(int argc, const char * argv[], boost::program_o
{
po::store(po::parse_command_line(argc, argv, opts), options);
}
catch(po::error & e)
catch(boost::program_options::error & e)
{
std::cerr << "Failure during parsing command-line options:\n" << e.what() << std::endl;
}