diff options
-rw-r--r-- | src/account-server/main-account.cpp | 4 | ||||
-rw-r--r-- | src/game-server/main-game.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp index ee5fcaf3..b3edf207 100644 --- a/src/account-server/main-account.cpp +++ b/src/account-server/main-account.cpp @@ -212,7 +212,7 @@ static void printHelp() << " -h --help : Display this help" << std::endl << " --config <path> : Set the config path to use." << " (Default: ./manaserv.xml)" << std::endl - << " --verbosity <n> : Set the verbosity level" << std::endl + << " -v --verbosity <n> : Set the verbosity level" << std::endl << " - 0. Fatal Errors only." << std::endl << " - 1. All Errors." << std::endl << " - 2. Plus warnings." << std::endl @@ -245,7 +245,7 @@ struct CommandLineOptions */ static void parseOptions(int argc, char *argv[], CommandLineOptions &options) { - const char *optString = "h"; + const char *optString = "hv:"; const struct option longOptions[] = { diff --git a/src/game-server/main-game.cpp b/src/game-server/main-game.cpp index 894af5f9..92309319 100644 --- a/src/game-server/main-game.cpp +++ b/src/game-server/main-game.cpp @@ -207,7 +207,7 @@ static void printHelp() << " -h --help : Display this help" << std::endl << " --config <path> : Set the config path to use." << " (Default: ./manaserv.xml)" << std::endl - << " --verbosity <n> : Set the verbosity level" << std::endl + << " -v --verbosity <n> : Set the verbosity level" << std::endl << " - 0. Fatal Errors only." << std::endl << " - 1. All Errors." << std::endl << " - 2. Plus warnings." << std::endl @@ -241,7 +241,7 @@ struct CommandLineOptions */ static void parseOptions(int argc, char *argv[], CommandLineOptions &options) { - const char *optString = "h"; + const char *optString = "hv:"; const struct option longOptions[] = { |