mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-11-04 03:02:15 +01:00 
			
		
		
		
	Fix typos.
This commit is contained in:
		@@ -634,7 +634,7 @@ def parse_args():
 | 
				
			|||||||
	except getopt.GetoptError as err:
 | 
						except getopt.GetoptError as err:
 | 
				
			||||||
		usage(str(err))
 | 
							usage(str(err))
 | 
				
			||||||
	for o, a in opts:
 | 
						for o, a in opts:
 | 
				
			||||||
		if o in ('-h', '--hep'):
 | 
							if o in ('-h', '--help'):
 | 
				
			||||||
			usage()
 | 
								usage()
 | 
				
			||||||
		elif o in ('-b', '--batch'):
 | 
							elif o in ('-b', '--batch'):
 | 
				
			||||||
			out.batch = True
 | 
								out.batch = True
 | 
				
			||||||
@@ -642,7 +642,7 @@ def parse_args():
 | 
				
			|||||||
			out.colors = False
 | 
								out.colors = False
 | 
				
			||||||
		elif o in ('-v', '--verbose'):
 | 
							elif o in ('-v', '--verbose'):
 | 
				
			||||||
			out.verbose = True 
 | 
								out.verbose = True 
 | 
				
			||||||
		elif o in ('-l', '--level='):
 | 
							elif o in ('-l', '--level'):
 | 
				
			||||||
			if a not in ('info', 'warn', 'fail'):
 | 
								if a not in ('info', 'warn', 'fail'):
 | 
				
			||||||
				usage('level ' + a + ' is not valid')
 | 
									usage('level ' + a + ' is not valid')
 | 
				
			||||||
			out.minlevel = a
 | 
								out.minlevel = a
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user