python: Elide type=str from argparse arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-02 12:24:05 -07:00
committed by Alex Vandiver
parent fbfd4b399d
commit a50fae89e2
45 changed files with 53 additions and 86 deletions

View File

@@ -20,16 +20,12 @@ class Command(ZulipBaseCommand):
help="Send to every user on the server.")
parser.add_argument('--markdown-template-path', '--path',
required=True,
type=str,
help='Path to a Markdown-format body for the email.')
parser.add_argument('--subject',
type=str,
help='Subject for the email. It can be declared in Markdown file in headers')
parser.add_argument('--from-name',
type=str,
help='From line for the email. It can be declared in Markdown file in headers')
parser.add_argument('--reply-to',
type=str,
help='Optional reply-to line for the email')
parser.add_argument('--admins-only',
help='Send only to organization administrators',