diff --git a/server/core/gateway.c b/server/core/gateway.c index f6b7a18fa..d3f196f86 100644 --- a/server/core/gateway.c +++ b/server/core/gateway.c @@ -141,7 +141,7 @@ const char *progname = NULL; static struct option long_options[] = { {"homedir", required_argument, 0, 'c'}, {"config", required_argument, 0, 'f'}, - {"nodeamon", required_argument, 0, 'd'}, + {"nodaemon", no_argument, 0, 'd'}, {"log", required_argument, 0, 'l'}, {"version", no_argument, 0, 'v'}, {"help", no_argument, 0, '?'},