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

@@ -29,11 +29,9 @@ To restore a specific ArchiveTransaction:
def add_arguments(self, parser: CommandParser) -> None:
parser.add_argument('-d', '--restore-deleted',
dest='restore_deleted',
action='store_true',
help='Restore manually deleted messages.')
parser.add_argument('-t', '--transaction-id',
dest='transaction_id',
type=int,
help='Restore a specific ArchiveTransaction.')