diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-08 14:32:53 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-08 14:32:53 +0000 |
commit | 379a653ae3e46bc27b8ad4bde9bb7c25d0e048f9 (patch) | |
tree | bc772d892ad3018b393a2cc59e93df278f290bd4 | |
parent | Return the raw federation event rather than adding extra keys for federation ... (diff) | |
download | synapse-379a653ae3e46bc27b8ad4bde9bb7c25d0e048f9.tar.xz |
Add better help message for --server-name config option.
Diffstat (limited to '')
-rw-r--r-- | synapse/config/server.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 4f73c85466..31e44cc857 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -47,8 +47,12 @@ class ServerConfig(Config): def add_arguments(cls, parser): super(ServerConfig, cls).add_arguments(parser) server_group = parser.add_argument_group("server") - server_group.add_argument("-H", "--server-name", default="localhost", - help="The name of the server") + server_group.add_argument( + "-H", "--server-name", default="localhost", + help="The domain name of the server, with optional explicit port. " + "This is used by remote servers to connect to this server, " + "e.g. matrix.org, localhost:8080, etc." + ) server_group.add_argument("--signing-key-path", help="The signing key to sign messages with") server_group.add_argument("-p", "--bind-port", metavar="PORT", |