From df9502bc38d79000e614da4c3805d67446481885 Mon Sep 17 00:00:00 2001 From: Mark Riddoch Date: Thu, 6 Nov 2014 16:58:14 +0000 Subject: [PATCH] Bug 591 - long option --nodaemon not working --- server/core/gateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '?'},