mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix up comments
This commit is contained in:
parent
823e13ddf4
commit
37b524f971
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 OpenMarket Ltd
|
# Copyright 2019 Matrix.org Foundation C.I.C.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@ -109,7 +109,7 @@ def start(config_options):
|
|||||||
|
|
||||||
subparser = parser.add_subparsers(
|
subparser = parser.add_subparsers(
|
||||||
title="Admin Commands",
|
title="Admin Commands",
|
||||||
description="Choose and admin command to perform.",
|
description="Choose an admin command to perform.",
|
||||||
required=True,
|
required=True,
|
||||||
dest="command",
|
dest="command",
|
||||||
metavar="<admin_command>",
|
metavar="<admin_command>",
|
||||||
|
@ -284,7 +284,7 @@ class Config(object):
|
|||||||
Used for workers where we want to add extra flags/subcommands.
|
Used for workers where we want to add extra flags/subcommands.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
conifg_parser (ArgumentParser)
|
config_parser (ArgumentParser)
|
||||||
argv (list[str])
|
argv (list[str])
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
Loading…
Reference in New Issue
Block a user