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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user