mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-13 11:40:38 +02:00
The vcmiserver application will first try to initialize various things before parsing the commandline arguments. This leads to the program only outputting an initialization error when it cannot initialize instead of parsing arguments like --help. This patch moves the argument parsing to earlier in program execution to avoid this behaviour.