summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS.rst5
-rw-r--r--changelog.d/4353.misc1
-rwxr-xr-xsynctl4
3 files changed, 8 insertions, 2 deletions
diff --git a/AUTHORS.rst b/AUTHORS.rst
index 9a83d90153..d599aec74c 100644
--- a/AUTHORS.rst
+++ b/AUTHORS.rst
@@ -65,4 +65,7 @@ Pierre Jaury <pierre at jaury.eu>
 * Docker packaging
 
 Serban Constantin <serban.constantin at gmail dot com>
- * Small bug fix
\ No newline at end of file
+ * Small bug fix
+
+Jason Robinson <jasonr at matrix.org>
+ * Minor fixes
diff --git a/changelog.d/4353.misc b/changelog.d/4353.misc
new file mode 100644
index 0000000000..b08bd77f3d
--- /dev/null
+++ b/changelog.d/4353.misc
@@ -0,0 +1 @@
+Fix command hint to generate a config file when trying to start without a config file
diff --git a/synctl b/synctl
index 7e79b05c39..816c898b36 100755
--- a/synctl
+++ b/synctl
@@ -156,7 +156,9 @@ def main():
         write(
             "No config file found\n"
             "To generate a config file, run '%s -c %s --generate-config"
-            " --server-name=<server name>'\n" % (" ".join(SYNAPSE), options.configfile),
+            " --server-name=<server name> --report-stats=<yes/no>'\n" % (
+                " ".join(SYNAPSE), options.configfile,
+            ),
             stream=sys.stderr,
         )
         sys.exit(1)