mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 09:03:57 +00:00
python: Elide type=str from argparse arguments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Alex Vandiver
parent
fbfd4b399d
commit
a50fae89e2
@@ -41,7 +41,7 @@ class Command(BaseCommand):
|
||||
help = "Starts a Tornado Web server wrapping Django."
|
||||
|
||||
def add_arguments(self, parser: CommandParser) -> None:
|
||||
parser.add_argument('addrport', nargs="?", type=str,
|
||||
parser.add_argument('addrport', nargs="?",
|
||||
help='[optional port number or ipaddr:port]\n '
|
||||
'(use multiple ports to start multiple servers)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user