mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 15:54:09 -04:00
Change add_arguments to be a static method
This commit is contained in:
parent
10fe904d88
commit
823e13ddf4
5 changed files with 39 additions and 5 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue