python: Remove redundant dest for argparse arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-01 19:49:02 -07:00
committed by Tim Abbott
parent 4d583e3d41
commit a5dbab8fb0
60 changed files with 53 additions and 127 deletions

View File

@@ -15,17 +15,14 @@ class Command(BaseCommand):
def add_arguments(self, parser: ArgumentParser) -> None:
parser.add_argument('--path',
dest='path',
action="store",
default=None,
help='Path to find messages.json archives')
parser.add_argument('--thread',
dest='thread',
action="store",
default=None,
help='Thread ID')
parser.add_argument('--consent-message-id',
dest="consent_message_id",
action="store",
default=None,
type=int,