summary refs log tree commit diff
diff options
context:
space:
mode:
authorsohamg <sohamg2@gmail.com>2019-06-10 18:47:35 +0530
committersohamg <sohamg2@gmail.com>2019-06-10 18:47:35 +0530
commit12f49b22ec23c9e7d6f1f3d0dce01304545958a1 (patch)
tree1bf4f29bbfe46df06bbe63432189a96c0417cbe0
parentResolved pep8 extra spacing issue (diff)
downloadsynapse-12f49b22ec23c9e7d6f1f3d0dce01304545958a1.tar.xz
Edited description to note that the arg will not work with daemonize set in the config.
Diffstat (limited to '')
-rwxr-xr-xsynctl5
1 files 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()