summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-09-12 13:27:42 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-09-12 13:27:42 +0200
commite93253b36b73d7335d98a3c73d532a1bbd7212a5 (patch)
tree80b5f7b9ae3c056d2d8c636ff0d483a29a772e7d /src/main.cpp
parent60f16fea6c08f419bfd3d852ec3696bedfe09196 (diff)
downloadmana-e93253b36b73d7335d98a3c73d532a1bbd7212a5.tar.gz
mana-e93253b36b73d7335d98a3c73d532a1bbd7212a5.tar.bz2
mana-e93253b36b73d7335d98a3c73d532a1bbd7212a5.tar.xz
mana-e93253b36b73d7335d98a3c73d532a1bbd7212a5.zip
Fixing command line argument for server
The short option for the server -s did not work. Reviewed-by: Thorbjorn
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 29713c27..fed7db60 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,7 +69,7 @@ static void printVersion()
static void parseOptions(int argc, char *argv[], Client::Options &options)
{
- const char *optstring = "hvud:U:P:Dc:p:C:L:";
+ const char *optstring = "hvud:U:P:Dc:s:p:C:L:";
const struct option long_options[] = {
{ "config-dir", required_argument, 0, 'C' },