From 12f49b22ec23c9e7d6f1f3d0dce01304545958a1 Mon Sep 17 00:00:00 2001
From: sohamg <sohamg2@gmail.com>
Date: Mon, 10 Jun 2019 18:47:35 +0530
Subject: [PATCH] Edited description to note that the arg will not work with
 daemonize set in the config.

---
 synctl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/synctl b/synctl
index 651cf396d7..665eda5132 100755
--- a/synctl
+++ b/synctl
@@ -69,7 +69,7 @@ def abort(message, colour=RED, stream=sys.stderr):
     sys.exit(1)
 
 
-def start(configfile, daemonize=True):
+def start(configfile, daemonize = True):
     write("Starting ...")
     args = SYNAPSE
 
@@ -150,7 +150,8 @@ def main():
     parser.add_argument(
         "--no-daemonize",
         action="store_false",
-        help="Run synapse in the foreground (for debugging)"
+        help="Run synapse in the foreground for debugging. "
+        "Will work only if the daemonize option is not set in the config."
     )
 
     options = parser.parse_args()
-- 
GitLab