Skip to content
Snippets Groups Projects
Commit 379a653a authored by Erik Johnston's avatar Erik Johnston
Browse files

Add better help message for --server-name config option.

parent edb557b2
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,12 @@ class ServerConfig(Config): ...@@ -47,8 +47,12 @@ class ServerConfig(Config):
def add_arguments(cls, parser): def add_arguments(cls, parser):
super(ServerConfig, cls).add_arguments(parser) super(ServerConfig, cls).add_arguments(parser)
server_group = parser.add_argument_group("server") server_group = parser.add_argument_group("server")
server_group.add_argument("-H", "--server-name", default="localhost", server_group.add_argument(
help="The name of the server") "-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", server_group.add_argument("--signing-key-path",
help="The signing key to sign messages with") help="The signing key to sign messages with")
server_group.add_argument("-p", "--bind-port", metavar="PORT", server_group.add_argument("-p", "--bind-port", metavar="PORT",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment