ManaPlus
|
#include "commandline.h"
#include "main.h"
#include "settings.h"
#include "fs/paths.h"
#include "utils/cast.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
#include <getopt.h>
#include <iostream>
#include <unistd.h>
#include "debug.h"
Go to the source code of this file.
Functions | |
static void | printHelp () |
static void | printVersion () |
void | parseOptions (const int argc, char *const argv[]) |
void parseOptions | ( | const int | argc, |
char *const | argv[] | ||
) |
Definition at line 137 of file commandline.cpp.
References Options::brandingPath, CAST_S32, CAST_U16, Options::character, Options::chatLogDir, checkPath(), Options::chooseDefault, Options::configDir, Options::dataPath, Options::error, Options::hideCursor, Options::ipc, Options::localDataDir, Options::logFileName, Options::noOpenGL, Settings::options, Options::password, printHelp(), Options::printHelp, printVersion(), Options::printVersion, Options::renderer, Options::safeMode, Options::screenshotDir, Options::serverName, Options::serverPort, Options::serverType, settings, Options::skipUpdate, Options::test, Options::testMode, Options::updateHost, Options::username, and Options::validate.
Referenced by mainGui().
|
static |
|
static |
Definition at line 130 of file commandline.cpp.
References FULL_VERSION, and strprintf().
Referenced by parseOptions().