mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-16 13:35:39 +01:00
Merge pull request #20 from KiloFoxtrotPapa/fix-lopt-port
Fix long option for port=
This commit is contained in:
commit
c043570879
@ -152,7 +152,7 @@ class AuditConf(object):
|
||||
aconf = cls()
|
||||
try:
|
||||
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=']
|
||||
opts, args = getopt.gnu_getopt(args, sopts, lopts)
|
||||
except getopt.GetoptError as err:
|
||||
|
Loading…
Reference in New Issue
Block a user