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