mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	python: Remove redundant dest for argparse arguments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							4d583e3d41
						
					
				
				
					commit
					a5dbab8fb0
				
			@@ -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.')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user