From 933ce760576e9c30919ea0a2d0ca231c7b3cbd59 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 14 Nov 2014 13:23:17 +0000 Subject: [PATCH] Adding --generate-config will not help if the user has not specified a config file. --- synapse/config/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/config/_base.py b/synapse/config/_base.py index 8ebd2eba4a..322a18fbdd 100644 --- a/synapse/config/_base.py +++ b/synapse/config/_base.py @@ -36,7 +36,7 @@ class Config(object): if file_path is None: raise ConfigError( "Missing config for %s." - " Try running again with --generate-config" + " You must specify a config file. You can do this with the -c or --config-path option." % (config_name,) ) if not os.path.exists(file_path):