diff options
author | Erik Johnston <erik@matrix.org> | 2019-07-16 15:59:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 15:59:36 +0100 |
commit | c831c5b2bb95fb018756547e93fed3468a5d6b71 (patch) | |
tree | a5b3d2f7d91da0aaefdf2a4b2996c1c5243d0b7a /synapse/config/server.py | |
parent | Return a different error from Invalid Password when a user is deactivated (#5... (diff) | |
parent | Remove pointless description (diff) | |
download | synapse-c831c5b2bb95fb018756547e93fed3468a5d6b71.tar.xz |
Merge pull request #5597 from matrix-org/erikj/admin_api_cmd
Create basic admin command app
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 2a74dea2ea..080d0630bd 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -639,7 +639,8 @@ class ServerConfig(Config): if args.print_pidfile is not None: self.print_pidfile = args.print_pidfile - def add_arguments(self, parser): + @staticmethod + def add_arguments(parser): server_group = parser.add_argument_group("server") server_group.add_argument( "-D", |