Freeciv-3.3
|
Go to the source code of this file.
Functions | |
int | fcmp_parse_cmdline (int argc, char *argv[]) |
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 45 of file mpcmdline.c.