![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | fcmp_parse_cmdline (const QCoreApplication &app) |
| Parse commandline parameters. More... | |
| void fcmp_parse_cmdline | ( | const QCoreApplication & | app | ) |
Parse commandline parameters.
Modified argv[] so it contains only ui-specific options afterwards. Number of those ui-specific options is returned. Currently this is implemented in a way that it never fails. Either it returns with success or exit()s. Implementation can be changed so that this returns with value -1 in case program should be shut down instead of exiting itself. Callers are prepared for such implementation. This call initialises the log system.
Definition at line 39 of file mpcmdline.cpp.
Referenced by main().