mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 10:31:41 +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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user