mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +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
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user