mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-12-22 22:15:22 +01:00
Fix long option for port=
This commit is contained in:
parent
dc36622b50
commit
a04c96c5b2
@ -151,7 +151,7 @@ class AuditConf(object):
|
|||||||
aconf = cls()
|
aconf = cls()
|
||||||
try:
|
try:
|
||||||
sopts = 'h1246p:bcnjvl:t:'
|
sopts = 'h1246p:bcnjvl:t:'
|
||||||
lopts = ['help', 'ssh1', 'ssh2', 'ipv4', 'ipv6', 'port', 'json',
|
lopts = ['help', 'ssh1', 'ssh2', 'ipv4', 'ipv6', 'port=', 'json',
|
||||||
'batch', 'client-audit', 'no-colors', 'verbose', 'level=', 'timeout=']
|
'batch', 'client-audit', 'no-colors', 'verbose', 'level=', 'timeout=']
|
||||||
opts, args = getopt.gnu_getopt(args, sopts, lopts)
|
opts, args = getopt.gnu_getopt(args, sopts, lopts)
|
||||||
except getopt.GetoptError as err:
|
except getopt.GetoptError as err:
|
||||||
|
Loading…
Reference in New Issue
Block a user