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,20 +20,16 @@ class Command(ZulipBaseCommand):
help="Actually change message flags. Default is a dry run.")
parser.add_argument('-f', '--flag',
type=str,
help="The flag to add of remove")
parser.add_argument('-o', '--op',
type=str,
help="The operation to do: 'add' or 'remove'")
parser.add_argument('-u', '--until',
dest='all_until',
type=str,
help="Mark all messages <= specific usermessage id")
parser.add_argument('-m', '--email',
type=str,
help="Email to set messages for")
self.add_realm_args(parser)